Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87
b: refs/heads/master
c: 3a848f6
h: refs/heads/master
i:
  85: 7775916
  83: 18fa0a2
  79: 24906a7
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Apr 16, 2005
1 parent 89f4846 commit 10c727d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c29601e9c1e7893d1755364e350c9188bd56d69f
refs/heads/master: 3a848f632f86f1602094e6172cdc05c048042d7a
10 changes: 2 additions & 8 deletions trunk/arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,14 +733,8 @@ static int kernel_math_error(struct pt_regs *regs, char *str)
return 1;
}
notify_die(DIE_GPF, str, regs, 0, 16, SIGFPE);
#if 0
/* This should be a die, but warn only for now */
/* Illegal floating point operation in the kernel */
die(str, regs, 0);
#else
printk(KERN_DEBUG "%s: %s at ", current->comm, str);
printk_address(regs->rip);
printk("\n");
#endif
return 0;
}

Expand Down Expand Up @@ -824,7 +818,7 @@ asmlinkage void do_simd_coprocessor_error(struct pt_regs *regs)

conditional_sti(regs);
if ((regs->cs & 3) == 0 &&
kernel_math_error(regs, "simd math error"))
kernel_math_error(regs, "kernel simd math error"))
return;

/*
Expand Down

0 comments on commit 10c727d

Please sign in to comment.