* [2.6 patch] arch/i386/mm/init.c: small cleanups
@ 2005-10-30 0:58 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-10-30 0:58 UTC (permalink / raw)
To: linux-kernel
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>
---
arch/i386/mm/init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.14-rc5-mm1-full/arch/i386/mm/init.c.old 2005-10-30 02:20:25.000000000 +0200
+++ linux-2.6.14-rc5-mm1-full/arch/i386/mm/init.c 2005-10-30 02:23:55.000000000 +0200
@@ -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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] arch/i386/mm/init.c: small cleanups
@ 2005-11-07 21:18 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-07 21:18 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
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>
---
This patch was already sent on:
- 30 Oct 2005
arch/i386/mm/init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.14-rc5-mm1-full/arch/i386/mm/init.c.old 2005-10-30 02:20:25.000000000 +0200
+++ linux-2.6.14-rc5-mm1-full/arch/i386/mm/init.c 2005-10-30 02:23:55.000000000 +0200
@@ -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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-07 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-30 0:58 [2.6 patch] arch/i386/mm/init.c: small cleanups Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-11-07 21:18 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox