summaryrefslogtreecommitdiffstats
path: root/kernel/livepatch/state.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kernel/livepatch/state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/livepatch/state.h b/kernel/livepatch/state.h
new file mode 100644
index 0000000000..49d9c16e87
--- /dev/null
+++ b/kernel/livepatch/state.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LIVEPATCH_STATE_H
+#define _LIVEPATCH_STATE_H
+
+#include <linux/livepatch.h>
+
+bool klp_is_patch_compatible(struct klp_patch *patch);
+
+#endif /* _LIVEPATCH_STATE_H */