ARC: Cache: Refactor arc_ioc_setup()
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 21 Mar 2018 12:59:05 +0000 (15:59 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 21 Mar 2018 14:06:55 +0000 (17:06 +0300)
commit6b85b26e4bc76bcc92571ae90c913b57ae32423c
treea46be65f753b56d371088a71eafd3e590a7e3f18
parent9f0253c61acaa5c86adb3f6d41a5f95102609aa0
ARC: Cache: Refactor arc_ioc_setup()

Move all checks before cache flush and IOC setup.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/lib/cache.c