aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/kmap.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-12-03 09:19:54 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-03 09:19:54 -0800
commitdf9d38ebda762e54ed0b142c2c47b2f57a145ab2 (patch)
tree24fbfb229eabf74a2b2ed887e5b4d1b4bd7dae29 /arch/sh/mm/kmap.c
parent47337ad65f823358609865c5dff77404744bc38e (diff)
parenta9fc749224bfb69686322643678f89e00303ee21 (diff)
downloadmrst-s0i3-test-df9d38ebda762e54ed0b142c2c47b2f57a145ab2.tar.gz
mrst-s0i3-test-df9d38ebda762e54ed0b142c2c47b2f57a145ab2.tar.xz
mrst-s0i3-test-df9d38ebda762e54ed0b142c2c47b2f57a145ab2.zip
Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: sh: se/7724: Remove FSI/B of GPIO init code sh: se/7724: Update clock framework of FSI clock to non-legacy sh: Assume new page cache pages have dirty dcache lines. sh: boards: mach-se: use IS_ERR() instead of NULL check sh: Add div6_reparent_clks to clock framework for FSI dma: shdma: add a MODULE_ALIAS() to allow module autoloading
Diffstat (limited to 'arch/sh/mm/kmap.c')
-rw-r--r--arch/sh/mm/kmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/kmap.c b/arch/sh/mm/kmap.c
index 15d74ea4209..ec29e14ec5a 100644
--- a/arch/sh/mm/kmap.c
+++ b/arch/sh/mm/kmap.c
@@ -34,7 +34,7 @@ void *kmap_coherent(struct page *page, unsigned long addr)
enum fixed_addresses idx;
unsigned long vaddr;
- BUG_ON(test_bit(PG_dcache_dirty, &page->flags));
+ BUG_ON(!test_bit(PG_dcache_clean, &page->flags));
pagefault_disable();