]> 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)
commitb12062cc1a18f05d2bf669898cb165fbdc08a95a
treed3d5b505aa52466814cf993b7a0a94d7848d3f47
parent01fed338a9c0eb19781cf1317e569b7256a21d46
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