* [2.6 patch] x86 e820_64.c: make 2 functions static
@ 2007-11-09 6:03 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-09 6:03 UTC (permalink / raw)
To: tglx, mingo, hpa; +Cc: linux-kernel
This patch makes the following needlessly global functions static:
- e820_print_map()
- early_panic()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
arch/x86/kernel/e820_64.c | 4 ++--
include/asm-x86/e820_64.h | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
a57254863b322df7232405b71e4ce5a792143b36
diff --git a/arch/x86/kernel/e820_64.c b/arch/x86/kernel/e820_64.c
index 04698e0..182586a 100644
--- a/arch/x86/kernel/e820_64.c
+++ b/arch/x86/kernel/e820_64.c
@@ -363,7 +363,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;
@@ -587,7 +587,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);
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h
index 0bd4787..e535e60 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);
extern unsigned long e820_end_of_ram(void);
extern void e820_reserve_resources(void);
extern void e820_mark_nosave_regions(void);
-extern void e820_print_map(char *who);
extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type);
extern unsigned long e820_hole_size(unsigned long start, unsigned long end);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-09 6:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 6:03 [2.6 patch] x86 e820_64.c: make 2 functions static Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.