summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm
diff options
context:
space:
mode:
authorBryan Wu <cooloney@kernel.org>2008-02-29 12:02:10 +0800
committerBryan Wu <cooloney@kernel.org>2008-02-29 12:02:10 +0800
commitc051489df8b027238ff22d64d4e01ede3ad77dd5 (patch)
tree4dff2db58d2a09d4b424583950b35b93c611bd50 /arch/blackfin/mm
parent8b07a2a1e58beb60c4a40a46251f053d64e1eb36 (diff)
downloadop-kernel-dev-c051489df8b027238ff22d64d4e01ede3ad77dd5.zip
op-kernel-dev-c051489df8b027238ff22d64d4e01ede3ad77dd5.tar.gz
[Blackfin] arch: kill section mismatch warnings
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mm')
-rw-r--r--arch/blackfin/mm/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c
index 1f516c5..ec3141f 100644
--- a/arch/blackfin/mm/init.c
+++ b/arch/blackfin/mm/init.c
@@ -181,7 +181,7 @@ void __init mem_init(void)
}
}
-static __init void free_init_pages(const char *what, unsigned long begin, unsigned long end)
+static void __init free_init_pages(const char *what, unsigned long begin, unsigned long end)
{
unsigned long addr;
/* next to check that the page we free is not a partial page */
@@ -203,7 +203,7 @@ void __init free_initrd_mem(unsigned long start, unsigned long end)
}
#endif
-void __init free_initmem(void)
+void __init_refok free_initmem(void)
{
#if defined CONFIG_RAMKERNEL && !defined CONFIG_MPU
free_init_pages("unused kernel memory",
OpenPOWER on IntegriCloud