ARC: move common ops for line/full cache into helpers
authorVineet Gupta <vgupta@synopsys.com>
Sun, 29 Jun 2014 13:33:58 +0000 (19:03 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 23 Jul 2014 06:00:20 +0000 (11:30 +0530)
INV cmd for dcache provides 2 modes discard or wback-before-discard.
One is default and other needs to be set, if so desired. This is common
for line-op/entire-cache-op. So refactor them out into a helper

Doesn't affect generated code but paves way for any common
micro-optimization.

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

Simple merge