diff options
| author | Wardenjohn <[email protected]> | 2024-05-07 13:01:11 +0800 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-05-09 15:48:01 +0200 |
| commit | d927752f287fe10965612541593468ffcfa9231f (patch) | |
| tree | dd88e7e9030427f67558e22008b009d84e9e7db7 /include/linux | |
| parent | 00657bb3dbecee324336e1da1ad71b670b6aee60 (diff) | |
livepatch: Rename KLP_* to KLP_TRANSITION_*
The original macros of KLP_* is about the state of the transition.
Rename macros of KLP_* to KLP_TRANSITION_* to fix the confusing
description of klp transition state.
Signed-off-by: Wardenjohn <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Tested-by: Petr Mladek <[email protected]>
Acked-by: Josh Poimboeuf <[email protected]>
Acked-by: Miroslav Benes <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/livepatch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h index 9b9b38e89563..51a258c24ff5 100644 --- a/include/linux/livepatch.h +++ b/include/linux/livepatch.h @@ -18,9 +18,9 @@ #if IS_ENABLED(CONFIG_LIVEPATCH) /* task patch states */ -#define KLP_UNDEFINED -1 -#define KLP_UNPATCHED 0 -#define KLP_PATCHED 1 +#define KLP_TRANSITION_IDLE -1 +#define KLP_TRANSITION_UNPATCHED 0 +#define KLP_TRANSITION_PATCHED 1 /** * struct klp_func - function structure for live patching |