Skip to content

Commit

Permalink
[PATCH] arch/i386/mm/init.c: small cleanups
Browse files Browse the repository at this point in the history
This patch contains the following cleanups:
- make a needlessly global function static
- every file should include the headers containing the prototypes for
  it's global functions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Nov 14, 2005
1 parent 4694ca0 commit 27d99f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/i386/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/proc_fs.h>
#include <linux/efi.h>
#include <linux/memory_hotplug.h>
#include <linux/initrd.h>

#include <asm/processor.h>
#include <asm/system.h>
Expand Down Expand Up @@ -267,7 +268,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
pkmap_page_table = pte;
}

void __devinit free_new_highpage(struct page *page)
static void __devinit free_new_highpage(struct page *page)
{
set_page_count(page, 1);
__free_page(page);
Expand Down

0 comments on commit 27d99f7

Please sign in to comment.