diff options
author | Mark Rutland <mark.rutland@arm.com> | 2021-07-13 12:52:51 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-07-16 18:46:45 +0200 |
commit | e3d18cee258b898017b298b5b93f8134dd62aee3 (patch) | |
tree | 020739670ea01731b8f5510ecf28de6cac183432 /scripts/atomic/gen-atomic-long.sh | |
parent | locking/atomic: remove ARCH_ATOMIC remanants (diff) | |
download | linux-e3d18cee258b898017b298b5b93f8134dd62aee3.tar.xz 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 'scripts/atomic/gen-atomic-long.sh')
-rwxr-xr-x | scripts/atomic/gen-atomic-long.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/atomic/gen-atomic-long.sh b/scripts/atomic/gen-atomic-long.sh index e318d3f92e53..db69572609df 100755 --- a/scripts/atomic/gen-atomic-long.sh +++ b/scripts/atomic/gen-atomic-long.sh @@ -61,8 +61,8 @@ cat << EOF // Generated by $0 // DO NOT MODIFY THIS FILE DIRECTLY -#ifndef _ASM_GENERIC_ATOMIC_LONG_H -#define _ASM_GENERIC_ATOMIC_LONG_H +#ifndef _LINUX_ATOMIC_LONG_H +#define _LINUX_ATOMIC_LONG_H #include <linux/compiler.h> #include <asm/types.h> @@ -98,5 +98,5 @@ done cat <<EOF #endif /* CONFIG_64BIT */ -#endif /* _ASM_GENERIC_ATOMIC_LONG_H */ +#endif /* _LINUX_ATOMIC_LONG_H */ EOF |