diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2022-05-31 21:14:28 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-06-24 14:16:00 +0200 |
commit | 73b8ee62a0a0aa03b789e5299a00cf8e6adf23ac (patch) | |
tree | c7bf8acce12b00ab18918af4e9d960d6d5f2be4b /drivers/timer/xilinx-timer.c | |
parent | 8daf89678e9a8ce4203d2df6c65d9ff17aad785a (diff) |
microblaze: cache: split flush_cache() function
Factor out icache/dcache components from flush_cache() function. Call the
newly added __flush_icache()/__flush_dcache() functions inside
icache_disable() and dcache_disable(), respectively. There is no need to
flush both caches when disabling a particular cache type.
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link: https://lore.kernel.org/r/20220531181435.3473549-7-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/timer/xilinx-timer.c')
0 files changed, 0 insertions, 0 deletions