]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Move Cause.ExcCode trap codes to mipsregs.h
authorJames Hogan <james.hogan@imgtec.com>
Wed, 16 Dec 2015 23:49:33 +0000 (23:49 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 02:15:51 +0000 (03:15 +0100)
commit5c34a90d9cee8c061d23a861b87a927986d58fc8
treed8353347f013c35a81276c22e068dc3ced73d8c5
parent441338c600a72179f31cdf4da02aa8d9d887e282
MIPS: Move Cause.ExcCode trap codes to mipsregs.h

Move the Cause.ExcCode trap code definitions from kvm_host.h to
mipsregs.h, since they describe architectural bits rather than KVM
specific constants, and change the prefix from T_ to EXCCODE_.

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/11891/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/kvm_host.h
arch/mips/include/asm/mipsregs.h
arch/mips/kvm/emulate.c
arch/mips/kvm/interrupt.c
arch/mips/kvm/mips.c