Skip to content

Commit

Permalink
x86 e820_64.c: make 2 functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Ingo Molnar committed Jan 30, 2008
1 parent 6b59257 commit 013d23e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/e820_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion include/asm-x86/e820_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 013d23e

Please sign in to comment.