diff options
| author | Will Deacon <[email protected]> | 2018-06-19 13:53:09 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-06-21 12:52:11 +0200 |
| commit | b22d73c2bd76a6d05256dcd3262d00b5f5af09f4 (patch) | |
| tree | 19d3f359aedfb2692efc0010216c27e1f3790eb1 /tools/perf/scripts/python/bin | |
| parent | 8bd9cb51daac89337295b6f037b0486911e1b408 (diff) | |
locking/atomics/openrisc: Don't pull in all of <linux/bitops.h> in <asm/cmpxchg.h>
The openrisc implementation of <asm/cmpxchg.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/bin')
0 files changed, 0 insertions, 0 deletions