cpu/hotplug: Convert the hotplugged cpu work to a state machine
[cascardo/linux.git] / include / linux / cpuhotplug.h
1 #ifndef __CPUHOTPLUG_H
2 #define __CPUHOTPLUG_H
3
4 enum cpuhp_state {
5         CPUHP_OFFLINE,
6         CPUHP_CREATE_THREADS,
7         CPUHP_NOTIFY_PREPARE,
8         CPUHP_BRINGUP_CPU,
9         CPUHP_AP_OFFLINE,
10         CPUHP_AP_NOTIFY_STARTING,
11         CPUHP_AP_ONLINE,
12         CPUHP_TEARDOWN_CPU,
13         CPUHP_NOTIFY_ONLINE,
14         CPUHP_ONLINE,
15 };
16
17 #endif