--- linux-2.4/arch/i386/kernel/setup.c~ Wed Nov 14 13:19:43 2001 +++ linux-2.4/arch/i386/kernel/setup.c Wed Nov 14 13:19:53 2001 @@ -2788,7 +2788,7 @@ static void *c_start(struct seq_file *m, loff_t *pos) { - return *pos < NR_CPUS ? &cpu_data[*pos] : NULL; + return *pos < NR_CPUS ? cpu_data + *pos : NULL; } static void *c_next(struct seq_file *m, void *v, loff_t *pos) { --- linux-2.4/include/asm-i386/processor.h~ Wed Nov 14 11:52:39 2001 +++ linux-2.4/include/asm-i386/processor.h Wed Nov 14 13:18:47 2001 @@ -76,7 +76,7 @@ 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