klp: remove CONFIG_LIVEPATCH dependency from klp headers
[sfrench/cifs-2.6.git] / include / linux / livepatch.h
index a8828652f79428dfb888121489e457fe5c13bd5b..c05679701e105b2ca98770f639f1547ed82b15ba 100644 (file)
@@ -24,8 +24,6 @@
 #include <linux/module.h>
 #include <linux/ftrace.h>
 
-#if IS_ENABLED(CONFIG_LIVEPATCH)
-
 #include <asm/livepatch.h>
 
 enum klp_state {
@@ -134,6 +132,4 @@ int klp_unregister_patch(struct klp_patch *);
 int klp_enable_patch(struct klp_patch *);
 int klp_disable_patch(struct klp_patch *);
 
-#endif /* CONFIG_LIVEPATCH */
-
 #endif /* _LINUX_LIVEPATCH_H_ */