aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/smpboot.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-02-13 07:26:26 -0500
committerAndi Kleen <andi@basil.nowhere.org>2007-02-13 07:26:26 -0500
commit2a57ff1a7051f0936b57342a57c25658d7ca3cc6 (patch)
tree1428192cff1ffae1e454548a7a41189020bcde23 /arch/i386/kernel/smpboot.c
parent105fddb862d3da2f414329ff7719794fb2bd706b (diff)
[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> ===================================================================
Diffstat (limited to 'arch/i386/kernel/smpboot.c')
-rw-r--r--arch/i386/kernel/smpboot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c
index 5a00b07e7194..f46a4d095e6c 100644
--- a/arch/i386/kernel/smpboot.c
+++ b/arch/i386/kernel/smpboot.c
@@ -623,7 +623,6 @@ extern struct {
623 unsigned short ss; 623 unsigned short ss;
624} stack_start; 624} stack_start;
625extern struct i386_pda *start_pda; 625extern struct i386_pda *start_pda;
626extern struct Xgt_desc_struct cpu_gdt_descr;
627 626
628#ifdef CONFIG_NUMA 627#ifdef CONFIG_NUMA
629 628