transition.h 424 B

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