locking/atomic: scripts: split pfx/name/sfx/order
authorMark Rutland <mark.rutland@arm.com>
Mon, 5 Jun 2023 07:01:18 +0000 (08:01 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 07:57:21 +0000 (09:57 +0200)
commitb916a8c765692444388891f5b9c5b6e941e16d42
treeca996c7bcdf3939fa5146f7883e7f7dec215e0dc
parent9257959a6e5b4fca6fc8e985790bff62c2046f20
locking/atomic: scripts: split pfx/name/sfx/order

Currently gen-atomic-long.sh's gen_proto_order_variant() function
combines the pfx/name/sfx/order variables immediately, unlike other
functions in gen-atomic-*.sh.

This is fine today, but subsequent patches will require the individual
individual pfx/name/sfx/order variables within gen-atomic-long.sh's
gen_proto_order_variant() function. In preparation for this, split the
variables in the style of other gen-atomic-*.sh scripts.

This results in no change to the generated headers, so 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-22-mark.rutland@arm.com
scripts/atomic/gen-atomic-long.sh