Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29
b: refs/heads/master
c: e378cc1
h: refs/heads/master
i:
  27: 7ea529f
v: v3
  • Loading branch information
Paul Mackerras authored and Linus Torvalds committed Apr 16, 2005
1 parent 0c5cc9e commit 1169cb4
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 6460b4cceba0181308042c8d8794eb679bfa22e5
refs/heads/master: e378cc16b0d3c1610857c4444345907020e03ece
7 changes: 7 additions & 0 deletions trunk/arch/ppc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,13 @@ void AltivecAssistException(struct pt_regs *regs)
if (regs->msr & MSR_VEC)
giveup_altivec(current);
preempt_enable();
if (!user_mode(regs)) {
printk(KERN_ERR "altivec assist exception in kernel mode"
" at %lx\n", regs->nip);
debugger(regs);
die("altivec assist exception", regs, SIGFPE);
return;
}

err = emulate_altivec(regs);
if (err == 0) {
Expand Down

0 comments on commit 1169cb4

Please sign in to comment.