sh: Fix up flush_cache_vmap() on SMP.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 4 Mar 2010 07:47:30 +0000 (16:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 4 Mar 2010 07:47:30 +0000 (16:47 +0900)
commitb07f6b327e798610bebaa581ffb7a226f3bcb96b
tree36bde0b8a002aa0681cd997dee84e7590a5d0193
parent281983d6ff2674ca2e4868de628c65809d84fa4c
sh: Fix up flush_cache_vmap() on SMP.

flush_cache_all() uses broadcast IPIs, so we can't wrap in to that when
IRQs are disabled. The local cache flush manages to do what we need here
anyways, so just switch to that.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/cacheflush.h