diff options
| author | Peter Zijlstra <[email protected]> | 2017-09-05 12:17:58 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-10-27 08:31:58 +0000 |
| commit | 7f0ec32526d2446fdd79b0c6c6d08e64ef9fb1f3 (patch) | |
| tree | 8d40c42d6cd0e24600068e90285b5988ac40738f /tools/perf/builtin-script.c | |
| parent | perf/core: Rename 'enum perf_event_active_state' (diff) | |
| download | kernel-7f0ec32526d2446fdd79b0c6c6d08e64ef9fb1f3.tar.gz kernel-7f0ec32526d2446fdd79b0c6c6d08e64ef9fb1f3.zip | |
perf/core: Remove wrong barrier
The barrier and comment make no sense:
- if what the barrier says is true, it should be wmb() but that
should then be part of the arch driver, not the generic code.
- if it is an SMP barrier, there must be a matching barrier, and
there isn't one.
So kill it.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
