aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/cacheflush.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/cacheflush.h')
-rw-r--r--include/asm-x86_64/cacheflush.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86_64/cacheflush.h b/include/asm-x86_64/cacheflush.h
index b3189fb229d19..d32f7f58752a7 100644
--- a/include/asm-x86_64/cacheflush.h
+++ b/include/asm-x86_64/cacheflush.h
@@ -27,4 +27,8 @@ void global_flush_tlb(void);
int change_page_attr(struct page *page, int numpages, pgprot_t prot);
int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot);
+#ifdef CONFIG_DEBUG_RODATA
+void mark_rodata_ro(void);
+#endif
+
#endif /* _X8664_CACHEFLUSH_H */