blob: f9d0bc016067c6c68f82d771d64eb69866abf85e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Josh Poimboeufd83a7cb2017-02-13 19:42:40 -06002#ifndef _LIVEPATCH_TRANSITION_H
3#define _LIVEPATCH_TRANSITION_H
4
5#include <linux/livepatch.h>
6
7extern struct klp_patch *klp_transition_patch;
8
9void klp_init_transition(struct klp_patch *patch, int state);
10void klp_cancel_transition(void);
11void klp_start_transition(void);
12void klp_try_complete_transition(void);
13void klp_reverse_transition(void);
Miroslav Benes43347d52017-11-15 14:50:13 +010014void klp_send_signals(void);
Miroslav Benesc99a2be2017-11-22 11:29:21 +010015void klp_force_transition(void);
Josh Poimboeufd83a7cb2017-02-13 19:42:40 -060016
17#endif /* _LIVEPATCH_TRANSITION_H */