diff options
| author | James Hogan <[email protected]> | 2016-06-15 19:29:52 +0100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2016-06-15 23:58:25 +0200 |
| commit | aff565aab961d3cab3299a7008af6cdef88b79a0 (patch) | |
| tree | 1b350bd49c8a40b56da58af78d4a3078d75a9190 /tools/perf/scripts/python | |
| parent | e57759306c44ba6105c04eafc3b22efc55bb7ad2 (diff) | |
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 <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Cc: David Daney <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions