Skip to content

Commit

Permalink
[MIPS] AP/SP: Avoid triggering the 34K E125 performance issue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Baechle committed Jul 6, 2007
1 parent 5a19709 commit 6fb88ce
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fb88ce

Please sign in to comment.