locking/atomic: scripts: build raw_atomic_long*() directly
authorMark Rutland <mark.rutland@arm.com>
Mon, 5 Jun 2023 07:01:16 +0000 (08:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 07:57:20 +0000 (09:57 +0200)
commit1815da1718aa4c062b94cf3fc09432f552e25768
treea7f397ceee055cc376a82822b482bd3f7570d3e0
parent0f613bfa8268a89be25f2b6b58fc6fe8ccd9a2ba
locking/atomic: scripts: build raw_atomic_long*() directly

Now that arch_atomic*() usage is limited to the atomic headers, we no
longer have any users of arch_atomic_long_*(), and can generate
raw_atomic_long_*() directly.

Generate the raw_atomic_long_*() ops directly.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-20-mark.rutland@arm.com
include/linux/atomic.h
include/linux/atomic/atomic-long.h
include/linux/atomic/atomic-raw.h
scripts/atomic/gen-atomic-long.sh
scripts/atomic/gen-atomic-raw.sh