diff options
| author | Andi Kleen <ak@muc.de> | 2004-09-02 20:25:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-02 20:25:29 -0700 |
| commit | 613b3150271de27952beeb303b04ac959838eaaf (patch) | |
| tree | 0f0744fbd09c34ac9e52b38f3111a816febdd5dd /include | |
| parent | 2f0cfcb9df11168e6d01c7ade562c0865beb0227 (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.h | 2 |
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 |
