summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/cache.h')
-rw-r--r--include/asm-ppc/cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc/cache.h b/include/asm-ppc/cache.h
index 431dc7a49..0d54430d2 100644
--- a/include/asm-ppc/cache.h
+++ b/include/asm-ppc/cache.h
@@ -13,7 +13,11 @@
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
#define L1_CACHE_PAGES 8
+#define SMP_CACHE_BYTES L1_CACHE_BYTES
+
#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+extern void flush_dcache_range(unsigned long start, unsigned long stop);
+
static inline unsigned long unlock_dcache(void)
{
#ifndef CONFIG_8xx