diff options
| author | Will Deacon <[email protected]> | 2018-06-19 13:53:08 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-06-21 12:52:11 +0200 |
| commit | 8bd9cb51daac89337295b6f037b0486911e1b408 (patch) | |
| tree | 26b6c853bb4b44ea9df3c8c92fb146bedd6a4ee8 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 84038fd98e8e03ec418e3244b98eb248c5349d7e (diff) | |
locking/atomics, asm-generic: Move some macros from <linux/bitops.h> to a new <linux/bits.h> file
In preparation for implementing the asm-generic atomic bitops in terms
of atomic_long_*(), we need to prevent <asm/atomic.h> implementations from
pulling in <linux/bitops.h>. A common reason for this include is for the
BITS_PER_BYTE definition, so move this and some other BIT() and masking
macros into a new header file, <linux/bits.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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions