summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm
diff options
context:
space:
mode:
authorBryan Wu <cooloney@kernel.org>2008-02-29 05:02:10 +0100
committerBryan Wu <cooloney@kernel.org>2008-02-29 05:02:10 +0100
commitc051489df8b027238ff22d64d4e01ede3ad77dd5 (patch)
tree4dff2db58d2a09d4b424583950b35b93c611bd50 /arch/blackfin/mm
parent[Blackfin] arch: handle the most common L1 shrinkage case (L1 does not exist ... (diff)
downloadlinux-c051489df8b027238ff22d64d4e01ede3ad77dd5.tar.xz
linux-c051489df8b027238ff22d64d4e01ede3ad77dd5.zip
[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 1f516c55bde6..ec3141fefd20 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",