diff options
Diffstat (limited to 'include/asm-x86/cacheflush.h')
-rw-r--r-- | include/asm-x86/cacheflush.h | 7 |
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 |
48 | void mark_rodata_ro(void); | 48 | void mark_rodata_ro(void); |
49 | #endif | 49 | #endif |
50 | #ifdef CONFIG_DEBUG_RODATA_TEST | ||
51 | void rodata_test(void); | ||
52 | #else | ||
53 | static inline void rodata_test(void) | ||
54 | { | ||
55 | } | ||
56 | #endif | ||
50 | 57 | ||
51 | #endif | 58 | #endif |