summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndi Kleen <ak@muc.de>2004-09-02 20:25:29 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-02 20:25:29 -0700
commit613b3150271de27952beeb303b04ac959838eaaf (patch)
tree0f0744fbd09c34ac9e52b38f3111a816febdd5dd /include
parent2f0cfcb9df11168e6d01c7ade562c0865beb0227 (diff)
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/processor.h b/include/asm-x86_64/processor.h
index 9495cb914654..a1124995434a 100644
--- a/include/asm-x86_64/processor.h
+++ b/include/asm-x86_64/processor.h
@@ -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