klp: remove CONFIG_LIVEPATCH dependency from klp headers
[sfrench/cifs-2.6.git] / arch / s390 / include / asm / livepatch.h
index 105074582d864203fafbbf159348da8a1b7f940b..d5427c78b1b3edb1bbccff92bfbf4c86c45d6214 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <linux/module.h>
 
-#ifdef CONFIG_LIVEPATCH
 static inline int klp_check_compiler_support(void)
 {
        return 0;
@@ -36,6 +35,5 @@ static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
 {
        regs->psw.addr = ip;
 }
-#endif
 
 #endif