diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2016-11-10 18:44:44 +0100 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-11-16 09:34:17 +0100 |
| commit | 4d7b02d58c4000597d08930193d7aed81fba6b7c (patch) | |
| tree | b004920a6d86ae5924834478dbfe1eb9ccc351f3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 7f34b935e8bf2f5304fce273a8fa98c63886d686 (diff) | |
x86/mcheck: Split threshold_cpu_callback into two callbacks
The threshold_cpu_callback callbacks looks like one of the notifier and
its arguments are almost the same. Split this out and have one ONLINE
and one DEAD callback. This will come handy later once the main code
gets changed to use the callback mechanism.
Also, handle threshold_cpu_callback_online() return value so we don't
continue if the function fails.
Boris Petkov removed the callback pointer and replaced it with proper
functions.
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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions