]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARC: Don't fiddle with non-existent caches
authorVineet Gupta <vgupta@synopsys.com>
Mon, 28 Jan 2013 09:37:31 +0000 (15:07 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 15 Feb 2013 17:46:19 +0000 (23:16 +0530)
commitd626f547dd0457ab36f6151673fcc78fc3c63eaa
treec9ccac3168a7201a97fc50c765dfb7a4bd234a83
parentdb8e35d5b28fe6608e73913c919e4a6568f7c09c
ARC: Don't fiddle with non-existent caches

!CONFIG_ARC_HAS_(I|D)CACHE makes Linux disable caches (assuming they
exist in hardware) - mostly for debugging issues with new peripherals.
However, independent of CONFIG_ARC_HAS_(I|D)CACHE, Linux also needs to
handle, non-existant caches, using the information in Cache BCRs (Build
Configuration Reg)

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