aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-12-08 03:44:40 -0500
committerKumar Gala <galak@kernel.crashing.org>2006-12-08 03:44:40 -0500
commit5f95bd481e66ced8f316db39f202da955c5db6d6 (patch)
tree05a47ea6a3ad0d7650bcc77500dbab0a1af4ad8c /arch/powerpc/kernel/traps.c
parent39043a5b3d0b1b92b20209b6d401fb70c17177b4 (diff)
parentaa42c69c67f82e88f0726258efe7306708e1cf14 (diff)
Merge branch '83xx' into for_paulus
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r--arch/powerpc/kernel/traps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 0d4e203fa7a0..fde820e52d03 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -782,6 +782,8 @@ void __kprobes program_check_exception(struct pt_regs *regs)
782 unsigned int reason = get_reason(regs); 782 unsigned int reason = get_reason(regs);
783 extern int do_mathemu(struct pt_regs *regs); 783 extern int do_mathemu(struct pt_regs *regs);
784 784
785 /* We can now get here via a FP Unavailable exception if the core
786 * has no FPU, in that case no reason flags will be set */
785#ifdef CONFIG_MATH_EMULATION 787#ifdef CONFIG_MATH_EMULATION
786 /* (reason & REASON_ILLEGAL) would be the obvious thing here, 788 /* (reason & REASON_ILLEGAL) would be the obvious thing here,
787 * but there seems to be a hardware bug on the 405GP (RevD) 789 * but there seems to be a hardware bug on the 405GP (RevD)