aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-08-03 18:44:43 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 08:26:30 -0400
commit70dc6f045fce6907b5d10377850a78ada6837ffb (patch)
treea154fb83733a335df9c0a0b6659e3283fb0a7d4c /arch/mips/include/asm
parent7281cd22973008a782860e48ed8d85d00204168c (diff)
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/mips/include/asm')
0 files changed, 0 insertions, 0 deletions