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