diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 07:30:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:30 -0500 |
commit | 013d23e1567c4cebee0a2db5c8fa97b91b34ac2a (patch) | |
tree | 8bc61a47542504d9f23995586da57c111cb1b2ec | |
parent | 6b59257082e136fbbce1aa017575a451c0df0592 (diff) |
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>
-rw-r--r-- | arch/x86/kernel/e820_64.c | 4 | ||||
-rw-r--r-- | include/asm-x86/e820_64.h | 1 |
2 files changed, 2 insertions, 3 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) | |||
373 | return end - start - (ram << PAGE_SHIFT); | 373 | return end - start - (ram << PAGE_SHIFT); |
374 | } | 374 | } |
375 | 375 | ||
376 | void __init e820_print_map(char *who) | 376 | static void __init e820_print_map(char *who) |
377 | { | 377 | { |
378 | int i; | 378 | int i; |
379 | 379 | ||
@@ -633,7 +633,7 @@ static int __init copy_e820_map(struct e820entry *biosmap, int nr_map) | |||
633 | return 0; | 633 | return 0; |
634 | } | 634 | } |
635 | 635 | ||
636 | void early_panic(char *msg) | 636 | static void early_panic(char *msg) |
637 | { | 637 | { |
638 | early_printk(msg); | 638 | early_printk(msg); |
639 | panic(msg); | 639 | panic(msg); |
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h index 0bd4787a5d57..e535e6044e21 100644 --- a/include/asm-x86/e820_64.h +++ b/include/asm-x86/e820_64.h | |||
@@ -21,7 +21,6 @@ extern void contig_e820_setup(void); | |||
21 | extern unsigned long e820_end_of_ram(void); | 21 | extern unsigned long e820_end_of_ram(void); |
22 | extern void e820_reserve_resources(void); | 22 | extern void e820_reserve_resources(void); |
23 | extern void e820_mark_nosave_regions(void); | 23 | extern void e820_mark_nosave_regions(void); |
24 | extern void e820_print_map(char *who); | ||
25 | extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); | 24 | extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); |
26 | extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); | 25 | extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); |
27 | extern unsigned long e820_hole_size(unsigned long start, unsigned long end); | 26 | extern unsigned long e820_hole_size(unsigned long start, unsigned long end); |