aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/smp.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-02-07 01:47:59 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-02-07 01:47:59 -0600
commit5fad293bcbd48d9a2370020cf60e4b4a42559b12 (patch)
treef6bb8c466410dead0471583ec874ca3244c3902b /arch/sparc/kernel/smp.c
parent[POWERPC] Enable interrupts if we are doing fp math emulation (diff)
downloadlinux-dev-5fad293bcbd48d9a2370020cf60e4b4a42559b12.tar.xz
linux-dev-5fad293bcbd48d9a2370020cf60e4b4a42559b12.zip
[POWERPC] Fixup error handling when emulating a floating point instruction
When we do full FP emulation its possible that we need to post a SIGFPE based on the results of the emulation. The previous code ignored this case completely. Additionally, the Soft_emulate_8xx case had two issues. One, we should never generate a SIGFPE since the code only does data movement. Second, we were interpreting the return codes incorrectly, it returns 0 on success, 1 on illop and -EFAULT on a data access error. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/sparc/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions