From e4fc5a1a2acab67867c9858cd4c8e9abb5b242f7 Mon Sep 17 00:00:00 2001 From: David Howells Date: Tue, 6 Nov 2007 21:54:44 +0000 Subject: [PATCH] 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 --- arch/frv/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index 4103c2c487..b841ecfd5d 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; -- 2.39.5