sh: Avoid smp_processor_id() in cache desc paths.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 09:05:20 +0000 (18:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 09:05:20 +0000 (18:05 +0900)
commit7ec9d6f8c0e6932d380da1964021fbebf2311f04
tree9c2711e32669db4278eb063818c41355a58049c6
parent2d4a73d5b91528322631830784f4eb7897fb5e41
sh: Avoid smp_processor_id() in cache desc paths.

current_cpu_data uses smp_processor_id() in order to find the
corresponding cpu_data. As the cache descs are all currently
identical, just have this look at probed results from the boot
CPU.

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