aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMax Filippov <[email protected]>2018-12-21 16:26:20 +0000
committerMax Filippov <[email protected]>2019-01-26 10:02:13 +0000
commit32a7726c4f4aadfabdb82440d84f88a5a2c8fe13 (patch)
tree5cdf2947f361d0d90c3322f3121316f93870bd5c /tools/perf/util/c++/clang.cpp
parentxtensa: SMP: fix ccount_timer_shutdown (diff)
downloadkernel-32a7726c4f4aadfabdb82440d84f88a5a2c8fe13.tar.gz
kernel-32a7726c4f4aadfabdb82440d84f88a5a2c8fe13.zip
xtensa: SMP: fix secondary CPU initialization
- add missing memory barriers to the secondary CPU synchronization spin loops; add comment to the matching memory barrier in the boot_secondary and __cpu_die functions; - use READ_ONCE/WRITE_ONCE to access cpu_start_id/cpu_start_ccount instead of reading/writing them directly; - re-initialize cpu_running every time before starting secondary CPU to flush possible previous CPU startup results. Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions