x86/mm: Always enable CONFIG_DEBUG_RODATA and remove the Kconfig option
[firefly-linux-kernel-4.4.55.git] / arch / x86 / include / asm / cacheflush.h
index c8cff75c5b214268638f25ea4b8c5c1a8382e508..61518cf79437679788bd41a1ee1c942aea29a8cb 100644 (file)
@@ -91,15 +91,10 @@ void clflush_cache_range(void *addr, unsigned int size);
 
 #define mmio_flush_range(addr, size) clflush_cache_range(addr, size)
 
-#ifdef CONFIG_DEBUG_RODATA
 extern const int rodata_test_data;
 extern int kernel_set_to_readonly;
 void set_kernel_text_rw(void);
 void set_kernel_text_ro(void);
-#else
-static inline void set_kernel_text_rw(void) { }
-static inline void set_kernel_text_ro(void) { }
-#endif
 
 #ifdef CONFIG_DEBUG_RODATA_TEST
 int rodata_test(void);