diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-11-19 05:53:24 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-03 20:46:35 +1100 |
commit | df3b8611554e389e703fa753540289874fa5126c (patch) | |
tree | 19b02efa50c28fbece905bd9fe2dc6c6ae6fcfd5 /arch/powerpc/mm/pgtable.c | |
parent | f4f3a1261ad70988ad45614ebc87e553143a332b (diff) | |
download | kernel_samsung_smdk4412-df3b8611554e389e703fa753540289874fa5126c.tar.gz kernel_samsung_smdk4412-df3b8611554e389e703fa753540289874fa5126c.tar.bz2 kernel_samsung_smdk4412-df3b8611554e389e703fa753540289874fa5126c.zip |
powerpc: Add a local_flush_tlb_page to handle kmap_atomic invalidates
The tlb invalidates in kmap_atomic/kunmap_atomic can be called from
IRQ context, however they are only local invalidates (on the processor
that the kmap was called on). In the future we want to use IPIs to
do tlb invalidates this causes issue since flush_tlb_page() is considered
a broadcast invalidate.
Add local_flush_tlb_page() as a non-broadcast invalidate and use it in
kmap_atomic() since we don't have enough information in the
flush_tlb_page() call to determine its local.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions