locking/atomic: centralize generated headers
authorMark Rutland <mark.rutland@arm.com>
Tue, 13 Jul 2021 10:52:51 +0000 (11:52 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 16 Jul 2021 16:46:45 +0000 (18:46 +0200)
commite3d18cee258b898017b298b5b93f8134dd62aee3
tree020739670ea01731b8f5510ecf28de6cac183432
parentf3e615b4db1fb7034f1d76dc307b77cc848f040e
locking/atomic: centralize generated headers

The generated atomic headers are only intended to be included directly
by <linux/atomic.h>, but are spread across include/linux/ and
include/asm-generic/, where people mnay be encouraged to include them.

This patch centralizes them under include/linux/atomic/.

Other than the header guards and hashes, there is no change to any of
the generated headers as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210713105253.7615-4-mark.rutland@arm.com
include/asm-generic/atomic-instrumented.h [deleted file]
include/asm-generic/atomic-long.h [deleted file]
include/linux/atomic-arch-fallback.h [deleted file]
include/linux/atomic.h
include/linux/atomic/atomic-arch-fallback.h [new file with mode: 0644]
include/linux/atomic/atomic-instrumented.h [new file with mode: 0644]
include/linux/atomic/atomic-long.h [new file with mode: 0644]
scripts/atomic/check-atomics.sh
scripts/atomic/gen-atomic-instrumented.sh
scripts/atomic/gen-atomic-long.sh
scripts/atomic/gen-atomics.sh