]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Do not use drop_mmu_context to flusing other task's VIPT I-cache.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 25 Aug 2006 08:55:31 +0000 (17:55 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:37 +0000 (13:37 +0100)
commit60370320916b40f3f4080c059d9f60b66a070910
tree687dbfcd20e60c480868eb1b64f784e8084b6e4b
parent8b83228f6a3e3eca6cefdcc284c4d10d2205d006
[MIPS] Do not use drop_mmu_context to flusing other task's VIPT I-cache.

c-r4k.c and c-sb1.c use drop_mmu_context() to flush virtually tagged
I-caches, but this does not work for flushing other task's icache.  This
is for example triggered by copy_to_user_page() called from ptrace(2).
Use indexed flush for such cases.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c
arch/mips/mm/c-sb1.c