[PATCH] i386: Rename cpu_gdt_descr and remove extern declaration from smpboot.c
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 13 Feb 2007 12:26:26 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:26 +0000 (13:26 +0100)
commit2a57ff1a7051f0936b57342a57c25658d7ca3cc6
tree1428192cff1ffae1e454548a7a41189020bcde23
parent105fddb862d3da2f414329ff7719794fb2bd706b
[PATCH] i386: Rename cpu_gdt_descr and remove extern declaration from smpboot.c

When I implemented the DECLARE_PER_CPU(var) macros, I was careful that
people couldn't use "var" in a non-percpu context, by prepending
percpu__.  I never considered that this would allow them to overload
the same name for a per-cpu and a non-percpu variable.

It is only one of many horrors in the i386 boot code, but let's rename
the non-perpcu cpu_gdt_descr to early_gdt_descr (not boot_gdt_descr,
that's something else...)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
===================================================================
arch/i386/kernel/head.S
arch/i386/kernel/smpboot.c
include/asm-i386/desc.h