From: David Howells Date: Tue, 6 Nov 2007 21:54:44 +0000 (+0000) Subject: FRV: Remove the section annotation on free_initmem() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e4fc5a1a2acab67867c9858cd4c8e9abb5b242f7;p=openwrt%2Fstaging%2Fblogic.git FRV: Remove the section annotation on free_initmem() Remove the section annotation on FRV's free_initmem(). It can't be marked __init, lest it free itself. Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index 4103c2c487f3..b841ecfd5d5a 100644 --- a/arch/frv/mm/init.c +++ b/arch/frv/mm/init.c @@ -197,7 +197,7 @@ void __init mem_init(void) /* * free the memory that was only required for initialisation */ -void __init free_initmem(void) +void free_initmem(void) { #if defined(CONFIG_RAMKERNEL) && !defined(CONFIG_PROTECT_KERNEL) unsigned long start, end, addr;