hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8YRD2
--------------------------------
reserve space for enum cpuhp_state
Signed-off-by: Liao Chen liaochen4@huawei.com --- include/linux/cpuhotplug.h | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h index 624d4a38c358..76ad45a2ca40 100644 --- a/include/linux/cpuhotplug.h +++ b/include/linux/cpuhotplug.h @@ -3,6 +3,7 @@ #define __CPUHOTPLUG_H
#include <linux/types.h> +#include <linux/kabi.h>
/* * CPU-up CPU-down @@ -258,6 +259,14 @@ enum cpuhp_state { CPUHP_AP_X86_KVM_CLK_ONLINE, CPUHP_AP_ACTIVE, CPUHP_ONLINE, + CPUHP_AP_KABI_RESERVE_1, + CPUHP_AP_KABI_RESERVE_2, + CPUHP_AP_KABI_RESERVE_3, + CPUHP_AP_KABI_RESERVE_4, + CPUHP_AP_KABI_RESERVE_5, + CPUHP_AP_KABI_RESERVE_6, + CPUHP_AP_KABI_RESERVE_7, + CPUHP_AP_KABI_RESERVE_8, };
int __cpuhp_setup_state(enum cpuhp_state state, const char *name, bool invoke,