aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/cacheflush.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/cacheflush.h')
-rw-r--r--include/asm-x86/cacheflush.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-x86/cacheflush.h b/include/asm-x86/cacheflush.h
index 157da0206ccc..3e74aff90809 100644
--- a/include/asm-x86/cacheflush.h
+++ b/include/asm-x86/cacheflush.h
@@ -47,5 +47,12 @@ void clflush_cache_range(void *addr, int size);
47#ifdef CONFIG_DEBUG_RODATA 47#ifdef CONFIG_DEBUG_RODATA
48void mark_rodata_ro(void); 48void mark_rodata_ro(void);
49#endif 49#endif
50#ifdef CONFIG_DEBUG_RODATA_TEST
51void rodata_test(void);
52#else
53static inline void rodata_test(void)
54{
55}
56#endif
50 57
51#endif 58#endif