]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
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 <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