]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Avoid flushing cache on cache-less machines
authorHelge Deller <deller@gmx.de>
Fri, 18 Mar 2022 21:59:59 +0000 (22:59 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 18 Mar 2022 21:59:59 +0000 (22:59 +0100)
commit31e80c281e522a19d6d514e60a875aac59402393
tree3c48888ca3b95781ff67f932f7069a05271899be
parentaf87caf787dd4983585c945d30c3fa5c3e91b6ee
parisc: Avoid flushing cache on cache-less machines

Avoid flushing caches in __flush_cache_page() and __purge_cache_page()
if the machine hasn't data or instruction caches - as e.g. in qemu.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/cache.c