| From d75386363ee60eb51c933c7b5e536f3a502ad7d7 Mon Sep 17 00:00:00 2001 |
| From: Vineet Gupta <vgupta@synopsys.com> |
| Date: Sun, 6 Apr 2014 06:59:51 +0530 |
| Subject: ARC: fix mmuv2 warning |
| |
| From: Vineet Gupta <vgupta@synopsys.com> |
| |
| commit d75386363ee60eb51c933c7b5e536f3a502ad7d7 upstream. |
| |
| Signed-off-by: Vineet Gupta <vgupta@synopsys.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| arch/arc/mm/cache_arc700.c | 4 ++++ |
| 1 file changed, 4 insertions(+) |
| |
| --- a/arch/arc/mm/cache_arc700.c |
| +++ b/arch/arc/mm/cache_arc700.c |
| @@ -253,12 +253,16 @@ static inline void __cache_line_loop(uns |
| |
| if (cacheop == OP_INV_IC) { |
| aux_cmd = ARC_REG_IC_IVIL; |
| +#if (CONFIG_ARC_MMU_VER > 2) |
| aux_tag = ARC_REG_IC_PTAG; |
| +#endif |
| } |
| else { |
| /* d$ cmd: INV (discard or wback-n-discard) OR FLUSH (wback) */ |
| aux_cmd = cacheop & OP_INV ? ARC_REG_DC_IVDL : ARC_REG_DC_FLDL; |
| +#if (CONFIG_ARC_MMU_VER > 2) |
| aux_tag = ARC_REG_DC_PTAG; |
| +#endif |
| } |
| |
| /* Ensure we properly floor/ceil the non-line aligned/sized requests |