aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/e820_64.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-30 13:30:30 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:30 +0100
commit013d23e1567c4cebee0a2db5c8fa97b91b34ac2a (patch)
tree8bc61a47542504d9f23995586da57c111cb1b2ec /arch/x86/kernel/e820_64.c
parentx86: actually merge <asm/alternative.h> (diff)
downloadlinux-dev-013d23e1567c4cebee0a2db5c8fa97b91b34ac2a.tar.xz
linux-dev-013d23e1567c4cebee0a2db5c8fa97b91b34ac2a.zip
x86 e820_64.c: make 2 functions static
This patch makes the following needlessly global functions static: - e820_print_map() - early_panic() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/e820_64.c')
-rw-r--r--arch/x86/kernel/e820_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/e820_64.c b/arch/x86/kernel/e820_64.c
index 0128b0b0e5b5..11a3d65db0c1 100644
--- a/arch/x86/kernel/e820_64.c
+++ b/arch/x86/kernel/e820_64.c
@@ -373,7 +373,7 @@ unsigned long __init e820_hole_size(unsigned long start, unsigned long end)
return end - start - (ram << PAGE_SHIFT);
}
-void __init e820_print_map(char *who)
+static void __init e820_print_map(char *who)
{
int i;
@@ -633,7 +633,7 @@ static int __init copy_e820_map(struct e820entry *biosmap, int nr_map)
return 0;
}
-void early_panic(char *msg)
+static void early_panic(char *msg)
{
early_printk(msg);
panic(msg);