summaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2010-03-12 07:24:21 +0300
committerMike Frysinger <vapier@gentoo.org>2011-01-10 15:18:11 +0300
commit71a66287d9c2fd07f1017f23db6ccc68ac4c4a96 (patch)
treeac0c215c1212ab2887ce956562e44b12382011fb /arch/blackfin/include/asm/cacheflush.h
parent57afb399350b45c0067f4979ce9f0c754239b048 (diff)
downloadlinux-71a66287d9c2fd07f1017f23db6ccc68ac4c4a96.tar.xz
Blackfin: SMP: rename the arch_xxx lock funcs to __raw_xxx
The external functions are named __raw_xxx, not arch_xxx, so rename the prototypes to match reality. This fixes some simple build errors in the bfin_ksyms.c code which exports these helpers to modules. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/cacheflush.h')
-rw-r--r--arch/blackfin/include/asm/cacheflush.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/cacheflush.h b/arch/blackfin/include/asm/cacheflush.h
index 2666ff8ea952..77135b62818e 100644
--- a/arch/blackfin/include/asm/cacheflush.h
+++ b/arch/blackfin/include/asm/cacheflush.h
@@ -11,6 +11,9 @@
#include <asm/blackfin.h> /* for SSYNC() */
#include <asm/sections.h> /* for _ramend */
+#ifdef CONFIG_SMP
+#include <asm/smp.h>
+#endif
extern void blackfin_icache_flush_range(unsigned long start_address, unsigned long end_address);
extern void blackfin_dcache_flush_range(unsigned long start_address, unsigned long end_address);