diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-08-03 15:44:43 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 13:26:30 +0100 |
commit | 70dc6f045fce6907b5d10377850a78ada6837ffb (patch) | |
tree | a154fb83733a335df9c0a0b6659e3283fb0a7d4c /arch/mips/include/asm/octeon/pci-octeon.h | |
parent | 7281cd22973008a782860e48ed8d85d00204168c (diff) | |
download | blackbird-op-linux-70dc6f045fce6907b5d10377850a78ada6837ffb.tar.gz blackbird-op-linux-70dc6f045fce6907b5d10377850a78ada6837ffb.zip |
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/octeon/pci-octeon.h')
0 files changed, 0 insertions, 0 deletions