xref: /linux/kernel/livepatch/transition.h (revision b2d0f5d5dc53532e6f07bc546a476a55ebdfe0f3)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LIVEPATCH_TRANSITION_H
3 #define _LIVEPATCH_TRANSITION_H
4 
5 #include <linux/livepatch.h>
6 
7 extern struct klp_patch *klp_transition_patch;
8 
9 void klp_init_transition(struct klp_patch *patch, int state);
10 void klp_cancel_transition(void);
11 void klp_start_transition(void);
12 void klp_try_complete_transition(void);
13 void klp_reverse_transition(void);
14 
15 #endif /* _LIVEPATCH_TRANSITION_H */
16