]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1bff50cb5f2ca00c4bfd23f58e34c0b75a35c86
tree29ea0485adca5fafd0e89367457205f9b384fb96
parent2d95adfb165960b2137011fd1fc0d0861abe7830
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