diff options
| author | Will Deacon <[email protected]> | 2018-06-19 13:53:10 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-06-21 12:52:11 +0200 |
| commit | 1c2672b49aa49d4fdc69d4ebbaf959264051e34a (patch) | |
| tree | 9d4a437b1d104c9a2b054ae3b6730730b4251aa0 /tools/perf/scripts/python | |
| parent | b22d73c2bd76a6d05256dcd3262d00b5f5af09f4 (diff) | |
locking/atomics/sh: Don't pull in all of <linux/bitops.h> in <asm/cmpxchg-xchg.h>
The sh implementation of <asm/cmpxchg-xchg.h> pulls in <linux/bitops.h>
so that it can refer to BITS_PER_BYTE. It also transitively relies on
this pulling in <linux/compiler.h> for READ_ONCE().
Replace the #include with <linux/bits.h> and <linux/compiler.h>.
Signed-off-by: Will Deacon <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions