diff options
author | Peter Zijlstra <[email protected]> | 2017-09-20 19:00:16 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-09-25 22:11:42 +0200 |
commit | 96abb968549cdefd0964d1f7af0a79f4e6e7f897 (patch) | |
tree | 30a5420e62341e1a9f70e4108a30f62384a80330 /lib/timerqueue.c | |
parent | fac1c2040203363eab6c6e86ce883cb71390418f (diff) |
smp/hotplug: Allow external multi-instance rollback
Currently the rollback of multi-instance states is handled inside
cpuhp_invoke_callback(). The problem is that when we want to allow an
explicit state change for rollback, we need to return from the
function without doing the rollback.
Change cpuhp_invoke_callback() to optionally return the multi-instance
state, such that rollback can be done from a subsequent call.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions