ARC: cache detection code bitrot
authorVineet Gupta <vgupta@synopsys.com>
Sat, 15 Jun 2013 04:51:51 +0000 (10:21 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 22 Jun 2013 08:16:43 +0000 (13:46 +0530)
commit30499186602afa1d62c2e5d354d02214a0ee00b7
treed0e928b54b995702822c70a32b3479625ff30c1f
parent6546415226f2fc3ab0a820464774e02a1679f90a
ARC: cache detection code bitrot

* Number of (i|d)cache ways can be retrieved from BCRs and hence no need
  to cross check with with built-in constants
* Use of IS_ENABLED() to check for a Kconfig option
* is_not_cache_aligned() not used anymore

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/arcregs.h
arch/arc/include/asm/cache.h
arch/arc/include/asm/cacheflush.h
arch/arc/mm/cache_arc700.c