]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Use EXCCODE_ constants with set_except_vector()
authorJames Hogan <james.hogan@imgtec.com>
Wed, 16 Dec 2015 23:49:35 +0000 (23:49 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 02:28:21 +0000 (03:28 +0100)
commitbecfbbab16285a4c4af24601d7f163bb51f4df6d
treed3d5b505aa52466814cf993b7a0a94d7848d3f47
parenteec4fca662330c1885657e7fba345550678b4ce5
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 <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11894/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-bugs64.c
arch/mips/kernel/traps.c