]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Define & use CP0_EBase bit definitions
authorJames Hogan <james.hogan@imgtec.com>
Wed, 11 May 2016 12:50:49 +0000 (13:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commit56cc899f390804a20270d19f499de5a38993f51f
treee9a4bed870e5ce0ffc8fd213144dde8b4755c92e
parentd33f5a1a527533f4e23c6a3d9f889d58b6a6223b
MIPS: Define & use CP0_EBase bit definitions

Add definitions for the bits & fields in the CP0_EBase register, and use
them from a few different places in arch/mips which hardcoded these
values.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Jayachandran C <jchandra@broadcom.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13222/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mipsregs.h
arch/mips/kvm/trap_emul.c
arch/mips/netlogic/xlp/nlm_hal.c
arch/mips/netlogic/xlr/setup.c