MIPS: Use EXCCODE_ constants with set_except_vector()
authorJames Hogan <[email protected]>
Wed, 16 Dec 2015 23:49:35 +0000 (23:49 +0000)
committerRalf Baechle <[email protected]>
Sun, 24 Jan 2016 02:28:21 +0000 (03:28 +0100)
commit1b505defe051749150ae699483cfcde3191d9a76
treed3d5b505aa52466814cf993b7a0a94d7848d3f47
parent044c9bb816433c196a5776ac4834c23eced205e7
MIPS: Use EXCCODE_ constants with set_except_vector()

The first argument to set_except_vector is the ExcCode, which we now
have definitions for. Lets make use of them.

Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Gleb Natapov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/11894/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/kernel/cpu-bugs64.c
arch/mips/kernel/traps.c