summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/cplb-nompu/cacheinit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-08-14 14:35:20 +0800
committerBryan Wu <cooloney@kernel.org>2008-08-14 14:35:20 +0800
commit9216bbc83826b77da9f2f396578c9d32b81e0d0b (patch)
treef907ac631f1b21305a2b0c49e3597833fcdc2af5 /arch/blackfin/kernel/cplb-nompu/cacheinit.c
parent7ab37da52db98ea9f272045c837058dfc1870ac3 (diff)
Blackfin arch: mark some functions as __init as they are only called from __init functions
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/cplb-nompu/cacheinit.c')
-rw-r--r--arch/blackfin/kernel/cplb-nompu/cacheinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/cplb-nompu/cacheinit.c b/arch/blackfin/kernel/cplb-nompu/cacheinit.c
index 8a18399f607..bd0831592c2 100644
--- a/arch/blackfin/kernel/cplb-nompu/cacheinit.c
+++ b/arch/blackfin/kernel/cplb-nompu/cacheinit.c
@@ -25,7 +25,7 @@
#include <asm/cplbinit.h>
#if defined(CONFIG_BFIN_ICACHE)
-void bfin_icache_init(void)
+void __init bfin_icache_init(void)
{
unsigned long *table = icplb_table;
unsigned long ctrl;
@@ -47,7 +47,7 @@ void bfin_icache_init(void)
#endif
#if defined(CONFIG_BFIN_DCACHE)
-void bfin_dcache_init(void)
+void __init bfin_dcache_init(void)
{
unsigned long *table = dcplb_table;
unsigned long ctrl;