klp: remove CONFIG_LIVEPATCH dependency from klp headers
[sfrench/cifs-2.6.git] / arch / s390 / include / asm / livepatch.h
index 7aa799134a11754b09ad523a00e54c92a6e1c7a9..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,8 +35,5 @@ static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
 {
        regs->psw.addr = ip;
 }
-#else
-#error Live patching support is disabled; check CONFIG_LIVEPATCH
-#endif
 
 #endif