[PATCH] x86: free_initrd_mem() can be __init

From: Jan Beulich
Date: Mon Jun 18 2012 - 06:30:20 EST


... matching various other architectures.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

---
arch/x86/mm/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.5-rc3/arch/x86/mm/init.c
+++ 3.5-rc3-x86-mm-init-sections/arch/x86/mm/init.c
@@ -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,



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/