* [PATCH] FRV: Remove the section annotation on free_initmem()
@ 2007-11-06 21:54 David Howells
0 siblings, 0 replies; only message in thread
From: David Howells @ 2007-11-06 21:54 UTC (permalink / raw)
To: torvalds, akpm, jdi; +Cc: linux-kernel, dhowells
From: David Howells <dhowells@redhat.com>
Remove the section annotation on FRV's free_initmem(). It can't be marked
__init, lest it free itself.
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/frv/mm/init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index 4103c2c..b841ecf 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-06 21:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-06 21:54 [PATCH] FRV: Remove the section annotation on free_initmem() David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®