Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Josh Poimboeuf | d83a7cb | 2017-02-13 19:42:40 -0600 | [diff] [blame] | 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); |
Miroslav Benes | c99a2be | 2017-11-22 11:29:21 +0100 | [diff] [blame] | 14 | void klp_force_transition(void); |
Josh Poimboeuf | d83a7cb | 2017-02-13 19:42:40 -0600 | [diff] [blame] | 15 | |
| 16 | #endif /* _LIVEPATCH_TRANSITION_H */ |