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>
Showing
- arch/mips/include/asm/kvm_host.h 0 additions, 28 deletionsarch/mips/include/asm/kvm_host.h
- arch/mips/include/asm/mipsregs.h 24 additions, 0 deletionsarch/mips/include/asm/mipsregs.h
- arch/mips/kvm/emulate.c 36 additions, 35 deletionsarch/mips/kvm/emulate.c
- arch/mips/kvm/interrupt.c 4 additions, 4 deletionsarch/mips/kvm/interrupt.c
- arch/mips/kvm/mips.c 16 additions, 16 deletionsarch/mips/kvm/mips.c
Please register or sign in to comment