Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11707
b: refs/heads/master
c: 434cc69
h: refs/heads/master
i:
  11705: c67366b
  11703: 9707ede
v: v3
  • Loading branch information
Marcelo Tosatti authored and Paul Mackerras committed Oct 29, 2005
1 parent 4c0eddc commit d268c33
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d5f7b06b036afc2cb250decb2c76b7f82c5de639
refs/heads/master: 434cc69fbb02dd7ca64c5029dc6a6f9636f77e02
2 changes: 2 additions & 0 deletions trunk/arch/ppc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,13 @@ struct task_struct *__switch_to(struct task_struct *prev,
#endif /* CONFIG_SPE */
#endif /* CONFIG_SMP */

#ifdef CONFIG_ALTIVEC
/* Avoid the trap. On smp this this never happens since
* we don't set last_task_used_altivec -- Cort
*/
if (new->thread.regs && last_task_used_altivec == new)
new->thread.regs->msr |= MSR_VEC;
#endif
#ifdef CONFIG_SPE
/* Avoid the trap. On smp this this never happens since
* we don't set last_task_used_spe
Expand Down

0 comments on commit d268c33

Please sign in to comment.