diff options
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 6 |
1 files changed, 5 insertions, 1 deletions
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, |