From: James Hogan Date: Tue, 19 May 2015 08:50:32 +0000 (+0100) Subject: MIPS: dump_tlb: Use tlbr hazard macros X-Git-Tag: omap-for-v4.2/fixes-rc1^2~82^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=137877e4327075d839f15776cb6865ee171f2175;p=pandora-kernel.git MIPS: dump_tlb: Use tlbr hazard macros Use the new tlb read hazard macros from 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10074/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed