]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 15 Jun 2013 09:02:13 +0000 (14:32 +0530)
commit7614742019d965871c49f958942848de4bcf2c07
treee020436d1cf9e272af35c24f2ea466bc8e007808
parente17a6ebc9009e2f21c3304f204938517e7a7dbc4
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