blob: 322db16233de1948f0928ad47d7f3b80342bd95d [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 Benesc99a2be2017-11-22 11:29:21 +010014void klp_force_transition(void);
Josh Poimboeufd83a7cb2017-02-13 19:42:40 -060015
16#endif /* _LIVEPATCH_TRANSITION_H */