diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2016-11-10 18:44:43 +0100 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-11-16 09:34:17 +0100 |
| commit | 7f34b935e8bf2f5304fce273a8fa98c63886d686 (patch) | |
| tree | 4c95cdb4f7f169133d1dcfe46e904149391c5525 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ec553abb318d75b1eafd275c71125569fa13b33b (diff) | |
x86/mcheck: Be prepared for a rollback back to the ONLINE state
If we try a CPU down and fail in the middle then we roll back to the
online state. This means we would perform CPU_ONLINE / mce_device_create()
without invoking CPU_DEAD / mce_device_remove() for the cleanup of what was
allocated in CPU_ONLINE.
Be prepared for this and don't allocate the struct if we have it
already.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions