summaryrefslogtreecommitdiffstats
path: root/kernel/livepatch/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/livepatch/state.h')
-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 000000000000..49d9c16e8762
--- /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 */