Re: [PATCH 06/10] x86: Change NR_CPUS arrays in topology

From: Mike Travis
Date: Mon Jan 14 2008 - 14:08:50 EST


Jan Engelhardt wrote:
> On Jan 13 2008 10:34, travis@xxxxxxx wrote:
>> +++ b/include/asm-x86/cpu.h
>> @@ -7,7 +7,7 @@
>> #include <linux/nodemask.h>
>> #include <linux/percpu.h>
>>
>> -struct i386_cpu {
>> +struct x86_cpu {
>> struct cpu cpu;
>> };
>> extern int arch_register_cpu(int num);
>
> Is not struct x86_cpu kinda redundant here if it only wraps around
> one member?

Looking at it, I think the x86 arch specific include file
is including the generic struct cpu (instead of say, a
different one)...?

Thanks,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/