arch/i386/mm/init.c: small cleanups
PATCH 1/1 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 <[email protected]>
---
arch/i386/mm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/i386/mm/init.c renamed from arch/i386/mm/init.c.old +2 -1
@@ -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>
@@ -267,7 +268,7 @@ 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);