sh: Use local TLB flush in set_pte_phys().
authorPaul Mundt <lethal@linux-sh.org>
Fri, 19 Jun 2009 06:37:11 +0000 (15:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 23 Jun 2009 08:30:17 +0000 (17:30 +0900)
commit997d0030934f7722d81e5b1cdd7af85ac7ed960b
tree29ea0485adca5fafd0e89367457205f9b384fb96
parent2e046b9487dcc60707cac77fb8f744ec830209cd
sh: Use local TLB flush in set_pte_phys().

set_pte_phys() presently uses the global flush_tlb_one(), which locks on
SMP trying to do the IPI. As we have not even initialized the other CPUs
at this point, switch to the local_ variant so the flush happens on the
boot CPU.

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