diff options
author | Mark Rutland <mark.rutland@arm.com> | 2021-07-13 11:52:51 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-07-16 18:46:45 +0200 |
commit | e3d18cee258b898017b298b5b93f8134dd62aee3 (patch) | |
tree | 020739670ea01731b8f5510ecf28de6cac183432 /include/linux/atomic.h | |
parent | f3e615b4db1fb7034f1d76dc307b77cc848f040e (diff) | |
download | linux-e3d18cee258b898017b298b5b93f8134dd62aee3.tar.gz linux-e3d18cee258b898017b298b5b93f8134dd62aee3.tar.bz2 linux-e3d18cee258b898017b298b5b93f8134dd62aee3.zip |
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
Diffstat (limited to 'include/linux/atomic.h')
-rw-r--r-- | include/linux/atomic.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/atomic.h b/include/linux/atomic.h index ed1d3ffd5b9d..1896a58b5aba 100644 --- a/include/linux/atomic.h +++ b/include/linux/atomic.h @@ -77,9 +77,8 @@ __ret; \ }) -#include <linux/atomic-arch-fallback.h> -#include <asm-generic/atomic-instrumented.h> - -#include <asm-generic/atomic-long.h> +#include <linux/atomic/atomic-arch-fallback.h> +#include <linux/atomic/atomic-instrumented.h> +#include <linux/atomic/atomic-long.h> #endif /* _LINUX_ATOMIC_H */ |