ARC: cacheflush: No need to retain DC_CTRL from __before_dc_op()
authorVineet Gupta <vgupta@synopsys.com>
Thu, 4 Jun 2015 03:23:47 +0000 (08:53 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:33 +0000 (18:09 +0530)
commit6c310681379548ab1aa748e20da16a943fb0f234
treecae621f4fe93012a877a7859b9650206a553cd4d
parent8ea2ddff41f795e3e9a0550612096b5115c593f1
ARC: cacheflush: No need to retain DC_CTRL from __before_dc_op()

That is because __after_dc_op() already reads it for status check, so it
is better anyways to use that "newer" value.

Also reduces the clutter in callers for passing from/to these routines.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/cache.c