aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-06 20:14:10 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:10 -0500
commitba10650a880c2df23bd1db6c0570ddb66f389641 (patch)
treed794f38cc355da3abd39bd0ebd361848f97d4543 /arch/i386
parent365bff806e9faba000fb4956c7486fbf3a746d96 (diff)
[PATCH] i386: alloc_gdt() static
Make the needlessly global alloc_gdt() static. (against) pda-percpu-init Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Andi Kleen <ak@muc.de> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c
index 68bcb687019a..1b34c56f8123 100644
--- a/arch/i386/kernel/cpu/common.c
+++ b/arch/i386/kernel/cpu/common.c
@@ -609,7 +609,7 @@ struct pt_regs * __devinit idle_regs(struct pt_regs *regs)
609 return regs; 609 return regs;
610} 610}
611 611
612__cpuinit int alloc_gdt(int cpu) 612static __cpuinit int alloc_gdt(int cpu)
613{ 613{
614 struct Xgt_desc_struct *cpu_gdt_descr = &per_cpu(cpu_gdt_descr, cpu); 614 struct Xgt_desc_struct *cpu_gdt_descr = &per_cpu(cpu_gdt_descr, cpu);
615 struct desc_struct *gdt; 615 struct desc_struct *gdt;