aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 09:49:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 09:49:32 +0900
commitdde5e3ffb770ef2854bbc32c51a365e932919e19 (patch)
tree1b7936b8068f3532892b30a526d23b79bbe401f5 /arch/sh/include/asm/cacheflush.h
parentsh: rename pg-mmu.c -> cache.c, enable generically. (diff)
downloadlinux-dev-dde5e3ffb770ef2854bbc32c51a365e932919e19.tar.xz
linux-dev-dde5e3ffb770ef2854bbc32c51a365e932919e19.zip
sh: rework nommu for generic cache.c use.
This does a bit of reorganizing for allowing nommu to use the new and generic cache.c, no functional changes. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/cacheflush.h')
-rw-r--r--arch/sh/include/asm/cacheflush.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/cacheflush.h b/arch/sh/include/asm/cacheflush.h
index 4bf621e4146d..9ec13fb909dd 100644
--- a/arch/sh/include/asm/cacheflush.h
+++ b/arch/sh/include/asm/cacheflush.h
@@ -76,5 +76,7 @@ void kmap_coherent_init(void);
void *kmap_coherent(struct page *page, unsigned long addr);
void kunmap_coherent(void);
+#define PG_dcache_dirty PG_arch_1
+
#endif /* __KERNEL__ */
#endif /* __ASM_SH_CACHEFLUSH_H */