Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36014
b: refs/heads/master
c: a94d702
h: refs/heads/master
v: v3
  • Loading branch information
Elizabeth Oldham authored and Ralf Baechle committed Sep 27, 2006
1 parent fd2520a commit c648eeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e74bae9a0c2fc59ffb0e25fec074b4ac0ac7048
refs/heads/master: a94d702049569401c65b579d0751ce282f962b41
6 changes: 6 additions & 0 deletions trunk/arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,16 @@ int vpe_run(struct vpe * v)
*/
write_tc_c0_tcbind((read_tc_c0_tcbind() & ~TCBIND_CURVPE) | v->minor);

write_vpe_c0_vpeconf0(read_vpe_c0_vpeconf0() & ~(VPECONF0_VPA));

back_to_back_c0_hazard();

/* Set up the XTC bit in vpeconf0 to point at our tc */
write_vpe_c0_vpeconf0( (read_vpe_c0_vpeconf0() & ~(VPECONF0_XTC))
| (t->index << VPECONF0_XTC_SHIFT));

back_to_back_c0_hazard();

/* enable this VPE */
write_vpe_c0_vpeconf0(read_vpe_c0_vpeconf0() | VPECONF0_VPA);

Expand Down

0 comments on commit c648eeb

Please sign in to comment.