diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-06-15 19:29:52 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-15 23:58:25 +0200 |
commit | aff565aab961d3cab3299a7008af6cdef88b79a0 (patch) | |
tree | 1b350bd49c8a40b56da58af78d4a3078d75a9190 /crypto/akcipher.c | |
parent | e57759306c44ba6105c04eafc3b22efc55bb7ad2 (diff) | |
download | op-kernel-dev-aff565aab961d3cab3299a7008af6cdef88b79a0.zip op-kernel-dev-aff565aab961d3cab3299a7008af6cdef88b79a0.tar.gz |
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 'crypto/akcipher.c')
0 files changed, 0 insertions, 0 deletions