diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2023-05-15 19:20:38 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-08-08 11:55:58 +0300 |
commit | e0a99a839f04c90bf9f16919997c4b34f9c8f1f0 (patch) | |
tree | cef348f877a0b1dd9d04b2917a248fa68f01086d /include/linux/cpuhotplug.h | |
parent | 33af38d85b5c9e8ffe26f9712319ed28c5ded64f (diff) | |
download | linux-e0a99a839f04c90bf9f16919997c4b34f9c8f1f0.tar.xz |
Documentation: core-api/cpuhotplug: Fix state names
Dynamic allocated hotplug states in documentation and the comment above
cpuhp_state enum do not match the code. To not get confused by wrong
documentation, change to proper state names.
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230515162038.62703-1-anna-maria@linutronix.de
Diffstat (limited to 'include/linux/cpuhotplug.h')
-rw-r--r-- | include/linux/cpuhotplug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h index 25b6e6e6ba6b..06dda85f0424 100644 --- a/include/linux/cpuhotplug.h +++ b/include/linux/cpuhotplug.h @@ -48,7 +48,7 @@ * same section. * * If neither #1 nor #2 apply, please use the dynamic state space when - * setting up a state by using CPUHP_PREPARE_DYN or CPUHP_PREPARE_ONLINE + * setting up a state by using CPUHP_BP_PREPARE_DYN or CPUHP_AP_ONLINE_DYN * for the @state argument of the setup function. * * See Documentation/core-api/cpu_hotplug.rst for further information and |