diff options
author | Will Deacon <[email protected]> | 2017-08-16 17:18:16 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-25 11:04:15 +0200 |
commit | 2ab346cfb0decf01523949e29f5cf542f2304611 (patch) | |
tree | 2ea85f9604be0047ca6c6a66eb0768d1f91215cc /net/lapb/lapb_iface.c | |
parent | 290d9bf2811bd83ae907232176d75690c0f7d82b (diff) |
perf/aux: Make aux_{head,wakeup} ring_buffer members long
The aux_head and aux_wakeup members of struct ring_buffer are defined
using the local_t type, despite the fact that they are only accessed via
the perf_aux_output_*() functions, which cannot race with each other for a
given ring buffer.
This patch changes the type of the members to long, so we can avoid
using the local_*() API where it isn't needed.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions