sh: Guard against early IPIs in flush_cache_all().
authorPaul Mundt <lethal@linux-sh.org>
Fri, 15 Jan 2010 05:21:37 +0000 (14:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 15 Jan 2010 05:21:37 +0000 (14:21 +0900)
commita6198a238baceae9d4e0ce3915f6d239c89b5c08
tree512b77781c1e4af78873f58a9bea8733aa06c117
parenta09d2831b3457a92a58d67bddfed370516acfe28
sh: Guard against early IPIs in flush_cache_all().

flush_cache_all() gets called in to when we do some early ioremapping.
Unfortunately on SDK7786 the interrupt controller itself requires
ioremapping, leading to a bit of a chicken and egg scenario. For now,
don't bother with IPI crosscalls if there aren't any other CPUs online.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache.c