Searched hist:"05 c6a26a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/arch/arc/lib/ |
H A D | cache.c | 05c6a26a Wed Mar 21 07:58:54 CDT 2018 Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> ARC: Cache: Use is_isa_arcv2() instead of CONFIG_ISA_ARCV2 ifdef Use is_isa_arcv2() function where it is possible instead of CONFIG_ISA_ARCV2 define check to make code cleaner at the same time keeping pretty much the same functionality - code in branches under "if (is_isa_arcv2())" won't be compiled if CONFIG_ISA_ARCV2 is not defined, still we need a couple of CONFIG_ISA_ARCV2 ifdefs to make compiler happy. That's because code in !is_isa_x() branch gets compiled and only then gets optimized away. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|