diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-08-03 22:44:43 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 12:26:30 (GMT) |
commit | 70dc6f045fce6907b5d10377850a78ada6837ffb (patch) | |
tree | a154fb83733a335df9c0a0b6659e3283fb0a7d4c /arch/s390 | |
parent | 7281cd22973008a782860e48ed8d85d00204168c (diff) | |
download | linux-70dc6f045fce6907b5d10377850a78ada6837ffb.tar.xz |
MIPS: Clean up notify_die() usage.
The sixth argument of notify_die() is a signal number, the fifth is a
trap number.
Instead of passing a signal number in a randomly selected argument,
pass it in the sixth. Extract the exception code from regs and pass
that as the trap number.
Get rid of redundant cast, and remove some gratuitous spaces.
Nobody actually does anything with the signal number or trap number,
but we might as well populate them with sensible values.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1532/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions