aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-13 19:06:51 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-13 21:14:13 -0500
commit27d99f7ead8cd6d2231798bff0d4c38814afea22 (patch)
tree877a80b0183dc5eab275163f120cd18bb3d222c2
parent4694ca02d19f42f5fd0b62cc2d0c7d3e5a0eef47 (diff)
[PATCH] arch/i386/mm/init.c: small cleanups
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>
-rw-r--r--arch/i386/mm/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c
index 542d9298da5e..06e26f006238 100644
--- a/arch/i386/mm/init.c
+++ b/arch/i386/mm/init.c
@@ -28,6 +28,7 @@
28#include <linux/proc_fs.h> 28#include <linux/proc_fs.h>
29#include <linux/efi.h> 29#include <linux/efi.h>
30#include <linux/memory_hotplug.h> 30#include <linux/memory_hotplug.h>
31#include <linux/initrd.h>
31 32
32#include <asm/processor.h> 33#include <asm/processor.h>
33#include <asm/system.h> 34#include <asm/system.h>
@@ -267,7 +268,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
267 pkmap_page_table = pte; 268 pkmap_page_table = pte;
268} 269}
269 270
270void __devinit free_new_highpage(struct page *page) 271static void __devinit free_new_highpage(struct page *page)
271{ 272{
272 set_page_count(page, 1); 273 set_page_count(page, 1);
273 __free_page(page); 274 __free_page(page);