sh: Add a PG_dcache_dirty sanity check in kmap_coherent().
authorPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 06:57:44 +0000 (15:57 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 06:57:44 +0000 (15:57 +0900)
This plugs in a BUG_ON() in kmap_coherent() for PG_dcache_dirty pages
to catch when things go horribly wrong. Copied from the MIPS
implementation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found