diff options
author | James Hogan | 2015-05-19 09:50:32 +0100 |
---|---|---|
committer | Ralf Baechle | 2015-06-21 21:52:32 +0200 |
commit | 137877e4327075d839f15776cb6865ee171f2175 (patch) | |
tree | 88538c7cf3e0ed997487418de965b09b13d36d42 /firmware/emi62 | |
parent | 8ab6abcb6aa475f458a3a81a69cca17840daafd1 (diff) |
MIPS: dump_tlb: Use tlbr hazard macros
Use the new tlb read hazard macros from <asm/hazards.h> rather than the
local BARRIER() macro which uses 7 ops regardless of the kernel
configuration.
We use mtc0_tlbr_hazard for the hazard between mtc0 to the index
register and the tlbr, and tlb_read_hazard for the hazard between the
tlbr and the mfc0 of the TLB registers written by tlbr.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10074/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'firmware/emi62')
0 files changed, 0 insertions, 0 deletions