[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)
commitf6502791d780b22fc147150137704a07a05ba361
tree687dbfcd20e60c480868eb1b64f784e8084b6e4b
parenta94d702049569401c65b579d0751ce282f962b41
[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