Skip to contentSkip to conversation

FRV: Remove the section annotation on free_initmem()

PATCH New David Howells 1 participant 1 message Nov 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FRV: Remove the section annotation on free_initmem()

From: David Howells <[email protected]>

Remove the section annotation on FRV's free_initmem(). It can't be marked __init, lest it free itself.

---

 arch/frv/mm/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/frv/mm/init.c +1 -1
index 4103c2c..b841ecf 100644
@@ -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;