ARC: Use correct PTAG register for icache flush
authorVineet Gupta <vgupta@synopsys.com>
Fri, 7 Mar 2014 07:52:22 +0000 (13:22 +0530)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 Mar 2014 18:12:56 +0000 (10:12 -0800)
commitb053940df41808f0f27568eb36820d10a8a987f8
tree650fcd1af2047258705e2d722fbdf2369780184f
parente1aa17c7b52c2cc1a4c20f62deadcd94ce8b632c
ARC: Use correct PTAG register for icache flush

This fixes a subtle issue with cache flush which could potentially cause
random userspace crashes because of stale icache lines.

This error crept in when consolidating the cache flush code

Fixes: bd12976c3664 (ARC: cacheflush refactor #3: Unify the {d,i}cache)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # 3.13
Cc: arc-linux-dev@synopsys.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arc/mm/cache_arc700.c