Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] x86_64: should use array directly for early_ptr

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


Yinghai.Lu at Sun

Jan 23, 2008, 1:27 AM

Post #1 of 2 (505 views)
Permalink
[PATCH] x86_64: should use array directly for early_ptr

[PATCH] x86_64: should use array directly for early_ptr

Signed-off-by: Yinghai Lu <yinghai.lu [at] sun>

--- a/arch/x86/kernel/setup_64.c 2008-01-23 01:21:06.000000000 -0800
+++ b/arch/x86/kernel/setup_64.c 2008-01-23 01:21:24.000000000 -0800
@@ -344,10 +344,10 @@

#ifdef CONFIG_SMP
/* setup to use the early static init tables during kernel startup */
- x86_cpu_to_apicid_early_ptr = (void *)&x86_cpu_to_apicid_init;
- x86_bios_cpu_apicid_early_ptr = (void *)&x86_bios_cpu_apicid_init;
+ x86_cpu_to_apicid_early_ptr = (void *)x86_cpu_to_apicid_init;
+ x86_bios_cpu_apicid_early_ptr = (void *)x86_bios_cpu_apicid_init;
#ifdef CONFIG_NUMA
- x86_cpu_to_node_map_early_ptr = (void *)&x86_cpu_to_node_map_init;
+ x86_cpu_to_node_map_early_ptr = (void *)x86_cpu_to_node_map_init;
#endif
#endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


travis at sgi

Jan 23, 2008, 6:18 AM

Post #2 of 2 (447 views)
Permalink
Re: [PATCH] x86_64: should use array directly for early_ptr [In reply to]

Yinghai Lu wrote:
> [PATCH] x86_64: should use array directly for early_ptr
>
> Signed-off-by: Yinghai Lu <yinghai.lu [at] sun>
>
> --- a/arch/x86/kernel/setup_64.c 2008-01-23 01:21:06.000000000 -0800
> +++ b/arch/x86/kernel/setup_64.c 2008-01-23 01:21:24.000000000 -0800
> @@ -344,10 +344,10 @@
>
> #ifdef CONFIG_SMP
> /* setup to use the early static init tables during kernel startup */
> - x86_cpu_to_apicid_early_ptr = (void *)&x86_cpu_to_apicid_init;
> - x86_bios_cpu_apicid_early_ptr = (void *)&x86_bios_cpu_apicid_init;
> + x86_cpu_to_apicid_early_ptr = (void *)x86_cpu_to_apicid_init;
> + x86_bios_cpu_apicid_early_ptr = (void *)x86_bios_cpu_apicid_init;
> #ifdef CONFIG_NUMA
> - x86_cpu_to_node_map_early_ptr = (void *)&x86_cpu_to_node_map_init;
> + x86_cpu_to_node_map_early_ptr = (void *)x86_cpu_to_node_map_init;
> #endif
> #endif
>


Also Thanks!

-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.