diff options
| author | Thomas Gleixner <[email protected]> | 2015-04-03 02:05:15 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-03 08:44:33 +0200 |
| commit | 1fe5d5c3c9ba0c4ade18e3325cba0ffe35127941 (patch) | |
| tree | b07d74d6468aa0bf1e2b107bb82d62b9fe6638d4 /tools/perf/util/c++/clang.cpp | |
| parent | 89feddbfe7023ccfb4a6d7f5e3f5161d91b28b18 (diff) | |
clockevents: Provide explicit broadcast oneshot control functions
clockevents_notify() is a leftover from the early design of the
clockevents facility. It's really not a notification mechanism,
it's a multiplex call. We are way better off to have explicit
calls instead of this monstrosity.
Split out the broadcast oneshot control into a separate function
and provide inline helpers. Switch clockevents_notify() over.
This will go away once all callers are converted.
This also gets rid of the nested locking of clockevents_lock and
broadcast_lock. The broadcast oneshot control functions do not
require clockevents_lock. Only the managing functions
(setup/shutdown/suspend/resume of the broadcast device require
clockevents_lock.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Tony Lindgren <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions