summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-07 02:14:10 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:10 +0100
commitba10650a880c2df23bd1db6c0570ddb66f389641 (patch)
treed794f38cc355da3abd39bd0ebd361848f97d4543 /arch
parent365bff806e9faba000fb4956c7486fbf3a746d96 (diff)
downloadblackbird-op-linux-ba10650a880c2df23bd1db6c0570ddb66f389641.tar.gz
blackbird-op-linux-ba10650a880c2df23bd1db6c0570ddb66f389641.zip
[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')
-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)
return regs;
}
-__cpuinit int alloc_gdt(int cpu)
+static __cpuinit int alloc_gdt(int cpu)
{
struct Xgt_desc_struct *cpu_gdt_descr = &per_cpu(cpu_gdt_descr, cpu);
struct desc_struct *gdt;
OpenPOWER on IntegriCloud