diff options
| -rw-r--r-- | arch/avr32/include/asm/bugs.h | 2 | ||||
| -rw-r--r-- | arch/avr32/include/asm/processor.h | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/arch/avr32/include/asm/bugs.h b/arch/avr32/include/asm/bugs.h index 7635e770622e..278661bbd1b0 100644 --- a/arch/avr32/include/asm/bugs.h +++ b/arch/avr32/include/asm/bugs.h | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | static void __init check_bugs(void) | 10 | static void __init check_bugs(void) |
| 11 | { | 11 | { |
| 12 | cpu_data->loops_per_jiffy = loops_per_jiffy; | 12 | boot_cpu_data.loops_per_jiffy = loops_per_jiffy; |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | #endif /* __ASM_AVR32_BUGS_H */ | 15 | #endif /* __ASM_AVR32_BUGS_H */ |
diff --git a/arch/avr32/include/asm/processor.h b/arch/avr32/include/asm/processor.h index 48d71c5c898a..972adcc1e8f4 100644 --- a/arch/avr32/include/asm/processor.h +++ b/arch/avr32/include/asm/processor.h | |||
| @@ -83,13 +83,8 @@ static inline unsigned int avr32_get_chip_revision(struct avr32_cpuinfo *cpu) | |||
| 83 | 83 | ||
| 84 | extern struct avr32_cpuinfo boot_cpu_data; | 84 | extern struct avr32_cpuinfo boot_cpu_data; |
| 85 | 85 | ||
| 86 | #ifdef CONFIG_SMP | 86 | /* No SMP support so far */ |
| 87 | extern struct avr32_cpuinfo cpu_data[]; | ||
| 88 | #define current_cpu_data cpu_data[smp_processor_id()] | ||
| 89 | #else | ||
| 90 | #define cpu_data (&boot_cpu_data) | ||
| 91 | #define current_cpu_data boot_cpu_data | 87 | #define current_cpu_data boot_cpu_data |
| 92 | #endif | ||
| 93 | 88 | ||
| 94 | /* This decides where the kernel will search for a free chunk of vm | 89 | /* This decides where the kernel will search for a free chunk of vm |
| 95 | * space during mmap's | 90 | * space during mmap's |
