summaryrefslogtreecommitdiffstats
path: root/arch/csky/mm/cachev1.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-03-10 22:27:21 +0100
committerDave Airlie <airlied@redhat.com>2020-03-10 22:27:21 +0100
commitd3bd37f587b4438d47751d0f1d5aaae3d39bd416 (patch)
tree9414a8fd1ca74c47fe1a3966e0a22469ac0b73a3 /arch/csky/mm/cachev1.c
parentMerge tag 'drm-misc-next-2020-02-27' of git://anongit.freedesktop.org/drm/drm... (diff)
parentLinux 5.6-rc5 (diff)
downloadlinux-d3bd37f587b4438d47751d0f1d5aaae3d39bd416.tar.xz
linux-d3bd37f587b4438d47751d0f1d5aaae3d39bd416.zip
Merge v5.6-rc5 into drm-next
Requested my mripard for some misc patches that need this as a base. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/csky/mm/cachev1.c')
-rw-r--r--arch/csky/mm/cachev1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/csky/mm/cachev1.c b/arch/csky/mm/cachev1.c
index 494ec912abff..5a5a9804a0e3 100644
--- a/arch/csky/mm/cachev1.c
+++ b/arch/csky/mm/cachev1.c
@@ -94,6 +94,11 @@ void icache_inv_all(void)
cache_op_all(INS_CACHE|CACHE_INV, 0);
}
+void local_icache_inv_all(void *priv)
+{
+ cache_op_all(INS_CACHE|CACHE_INV, 0);
+}
+
void dcache_wb_range(unsigned long start, unsigned long end)
{
cache_op_range(start, end, DATA_CACHE|CACHE_CLR, 0);