diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-15 23:07:49 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-05-15 23:07:49 +0300 |
commit | 8c06da67d0bd3139a97f301b4aa9c482b9d4f29e (patch) | |
tree | 6668124d777892d60be186304aea25d77cfc6ef9 /include | |
parent | a19264d0868dfd65d7222b37ffe41068b53d473a (diff) | |
parent | d927752f287fe10965612541593468ffcfa9231f (diff) | |
download | linux-8c06da67d0bd3139a97f301b4aa9c482b9d4f29e.tar.xz |
Merge tag 'livepatching-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
Pull livepatching update from Petr Mladek:
- Use more informative names for the livepatch transition states
* tag 'livepatching-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
livepatch: Rename KLP_* to KLP_TRANSITION_*
Diffstat (limited to 'include')
-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 |