Commit 613b3150 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Fix boot_cpu_data on x86-64

From: Andreas Gruenbacher

Add brackets to boot_cpu_data to fix compilation of centrino cpufreq driver.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2f0cfcb9
......@@ -84,7 +84,7 @@ extern struct tss_struct init_tss[NR_CPUS];
extern struct cpuinfo_x86 cpu_data[];
#define current_cpu_data cpu_data[smp_processor_id()]
#else
#define cpu_data &boot_cpu_data
#define cpu_data (&boot_cpu_data)
#define current_cpu_data boot_cpu_data
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment