diff options
| author | Peter Zijlstra <[email protected]> | 2017-09-20 17:00:16 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-09-25 20:11:42 +0000 |
| commit | 96abb968549cdefd0964d1f7af0a79f4e6e7f897 (patch) | |
| tree | 30a5420e62341e1a9f70e4108a30f62384a80330 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
| parent | smp/hotplug: Add state diagram (diff) | |
| download | kernel-96abb968549cdefd0964d1f7af0a79f4e6e7f897.tar.gz kernel-96abb968549cdefd0964d1f7af0a79f4e6e7f897.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions
