summaryrefslogtreecommitdiff
path: root/arch/mips/pci/pcie-octeon.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-08-03 22:44:43 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 12:26:30 (GMT)
commit70dc6f045fce6907b5d10377850a78ada6837ffb (patch)
treea154fb83733a335df9c0a0b6659e3283fb0a7d4c /arch/mips/pci/pcie-octeon.c
parent7281cd22973008a782860e48ed8d85d00204168c (diff)
downloadlinux-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/mips/pci/pcie-octeon.c')
0 files changed, 0 insertions, 0 deletions