summaryrefslogtreecommitdiff
path: root/include/soc/sifive/sifive_l2_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/soc/sifive/sifive_l2_cache.h')
-rw-r--r--include/soc/sifive/sifive_l2_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/soc/sifive/sifive_l2_cache.h b/include/soc/sifive/sifive_l2_cache.h
index 92ade10ed67e..dd3e56787d31 100644
--- a/include/soc/sifive/sifive_l2_cache.h
+++ b/include/soc/sifive/sifive_l2_cache.h
@@ -7,6 +7,10 @@
#ifndef __SOC_SIFIVE_L2_CACHE_H
#define __SOC_SIFIVE_L2_CACHE_H
+#ifdef CONFIG_SIFIVE_L2_FLUSH
+extern void sifive_l2_flush64_range(unsigned long start, unsigned long len);
+#endif
+
extern int register_sifive_l2_error_notifier(struct notifier_block *nb);
extern int unregister_sifive_l2_error_notifier(struct notifier_block *nb);