summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-06-15 21:29:52 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-16 00:58:25 +0300
commitaff565aab961d3cab3299a7008af6cdef88b79a0 (patch)
tree1b350bd49c8a40b56da58af78d4a3078d75a9190 /include/linux
parente57759306c44ba6105c04eafc3b22efc55bb7ad2 (diff)
downloadlinux-aff565aab961d3cab3299a7008af6cdef88b79a0.tar.xz
MIPS: Clean up RDHWR handling
No preprocessor definitions are used in the handling of the registers accessible with the RDHWR instruction, nor the corresponding bits in the CP0 HWREna register. Add definitions for both the register numbers (MIPS_HWR_*) and HWREna bits (MIPS_HWRENA_*) in asm/mipsregs.h and make use of them in the initialisation of HWREna and emulation of the RDHWR instruction. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Cc: David Daney <david.daney@cavium.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 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions