diff options
| -rw-r--r-- | include/linux/cpuhotplug.h | 3 | ||||
| -rw-r--r-- | kernel/cpu.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h index 22acee76cf4c..2ab7bf53d529 100644 --- a/include/linux/cpuhotplug.h +++ b/include/linux/cpuhotplug.h | |||
| @@ -101,7 +101,6 @@ enum cpuhp_state { | |||
| 101 | CPUHP_AP_ARM_L2X0_STARTING, | 101 | CPUHP_AP_ARM_L2X0_STARTING, |
| 102 | CPUHP_AP_ARM_ARCH_TIMER_STARTING, | 102 | CPUHP_AP_ARM_ARCH_TIMER_STARTING, |
| 103 | CPUHP_AP_ARM_GLOBAL_TIMER_STARTING, | 103 | CPUHP_AP_ARM_GLOBAL_TIMER_STARTING, |
| 104 | CPUHP_AP_DUMMY_TIMER_STARTING, | ||
| 105 | CPUHP_AP_JCORE_TIMER_STARTING, | 104 | CPUHP_AP_JCORE_TIMER_STARTING, |
| 106 | CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING, | 105 | CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING, |
| 107 | CPUHP_AP_ARM_TWD_STARTING, | 106 | CPUHP_AP_ARM_TWD_STARTING, |
| @@ -115,6 +114,8 @@ enum cpuhp_state { | |||
| 115 | CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING, | 114 | CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING, |
| 116 | CPUHP_AP_KVM_ARM_VGIC_STARTING, | 115 | CPUHP_AP_KVM_ARM_VGIC_STARTING, |
| 117 | CPUHP_AP_KVM_ARM_TIMER_STARTING, | 116 | CPUHP_AP_KVM_ARM_TIMER_STARTING, |
| 117 | /* Must be the last timer callback */ | ||
| 118 | CPUHP_AP_DUMMY_TIMER_STARTING, | ||
| 118 | CPUHP_AP_ARM_XEN_STARTING, | 119 | CPUHP_AP_ARM_XEN_STARTING, |
| 119 | CPUHP_AP_ARM_CORESIGHT_STARTING, | 120 | CPUHP_AP_ARM_CORESIGHT_STARTING, |
| 120 | CPUHP_AP_ARM_CORESIGHT4_STARTING, | 121 | CPUHP_AP_ARM_CORESIGHT4_STARTING, |
diff --git a/kernel/cpu.c b/kernel/cpu.c index 217fd2e7f435..5339aca811d2 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
| @@ -1586,7 +1586,11 @@ EXPORT_SYMBOL_GPL(__cpuhp_state_add_instance); | |||
| 1586 | * @startup: startup callback function | 1586 | * @startup: startup callback function |
| 1587 | * @teardown: teardown callback function | 1587 | * @teardown: teardown callback function |
| 1588 | * | 1588 | * |
| 1589 | * Returns 0 if successful, otherwise a proper error code | 1589 | * Returns: |
| 1590 | * On success: | ||
| 1591 | * Positive state number if @state is CPUHP_AP_ONLINE_DYN | ||
| 1592 | * 0 for all other states | ||
| 1593 | * On failure: proper (negative) error code | ||
| 1590 | */ | 1594 | */ |
| 1591 | int __cpuhp_setup_state(enum cpuhp_state state, | 1595 | int __cpuhp_setup_state(enum cpuhp_state state, |
| 1592 | const char *name, bool invoke, | 1596 | const char *name, bool invoke, |
