diff options
Diffstat (limited to 'arch/x86/include/asm/cacheflush.h')
-rw-r--r-- | arch/x86/include/asm/cacheflush.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cacheflush.h b/arch/x86/include/asm/cacheflush.h index 2f8466540fb5..6145063cfe0e 100644 --- a/arch/x86/include/asm/cacheflush.h +++ b/arch/x86/include/asm/cacheflush.h | |||
@@ -104,6 +104,11 @@ void clflush_cache_range(void *addr, unsigned int size); | |||
104 | #ifdef CONFIG_DEBUG_RODATA | 104 | #ifdef CONFIG_DEBUG_RODATA |
105 | void mark_rodata_ro(void); | 105 | void mark_rodata_ro(void); |
106 | extern const int rodata_test_data; | 106 | extern const int rodata_test_data; |
107 | void set_kernel_text_rw(void); | ||
108 | void set_kernel_text_ro(void); | ||
109 | #else | ||
110 | static inline void set_kernel_text_rw(void) { } | ||
111 | static inline void set_kernel_text_ro(void) { } | ||
107 | #endif | 112 | #endif |
108 | 113 | ||
109 | #ifdef CONFIG_DEBUG_RODATA_TEST | 114 | #ifdef CONFIG_DEBUG_RODATA_TEST |