FRV: Remove the section annotation on free_initmem()
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.
Signed-off-by David Howells <[email protected]>
---
arch/frv/mm/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/frv/mm/init.c +1 -1
@@ -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;