[MIPS] AP/SP: Avoid triggering the 34K E125 performance issue
authorRalf Baechle <ralf@linux-mips.org>
Thu, 7 Jun 2007 07:44:32 +0000 (08:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 6 Jul 2007 15:17:10 +0000 (16:17 +0100)
C0_status doesn't need to be initialized at this point anyway; the register
will be initialized later.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vpe.c

index c9ee9d2d5856a896a64e16321c92b37a174b7c6d..9e66354dee8b1e15df6568ddd2903609dacc0d7a 100644 (file)
@@ -1436,10 +1436,6 @@ static int __init vpe_module_init(void)
                        write_vpe_c0_vpecontrol(read_vpe_c0_vpecontrol() & ~VPECONTROL_TE);
 
                        if (i != 0) {
-                               write_vpe_c0_status((read_c0_status() &
-                                                    ~(ST0_IM | ST0_IE | ST0_KSU))
-                                                   | ST0_CU0);
-
                                /*
                                 * Set config to be the same as vpe0,
                                 * particularly kseg0 coherency alg