x86/mm: Mark free_initrd_mem() as __init
authorJan Beulich <JBeulich@suse.com>
Mon, 18 Jun 2012 10:30:20 +0000 (11:30 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 Jun 2012 12:33:47 +0000 (14:33 +0200)
... matching various other architectures.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/4FDF1F5C020000780008A661@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/init.c

index bc4e9d84157fc0c9aa85e71837998da166c1fa57..e0e6990723e982e12f425f2fdd26113725f2d52a 100644 (file)
@@ -385,7 +385,7 @@ void free_initmem(void)
 }
 
 #ifdef CONFIG_BLK_DEV_INITRD
-void free_initrd_mem(unsigned long start, unsigned long end)
+void __init free_initrd_mem(unsigned long start, unsigned long end)
 {
        /*
         * end could be not aligned, and We can not align that,