]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: el2_setup.h: Rename some labels to be more diff-friendly
authorDave Martin <Dave.Martin@arm.com>
Mon, 29 Jul 2024 16:25:42 +0000 (17:25 +0100)
committerWill Deacon <will@kernel.org>
Fri, 16 Aug 2024 10:26:38 +0000 (11:26 +0100)
commit5b39db6037e7cba1659f2149aef76934370aa6d5
treee590ab5bed555910023ec56636b0f30b456354ac
parentfc2220c9b15828319b09384e68399b4afc6276d9
arm64: el2_setup.h: Rename some labels to be more diff-friendly

A minor anti-pattern has established itself in __init_el2_fgt,
where each block of instructions is skipped by jumping to a label
named for the next (typically unrelated) block.

This makes diffs more noisy than necessary, since appending each
new block to deal with some new architecture feature now requires
altering a branch destination in the existing code.

Fix it by naming the affected labels based on the block that is
skipping itself instead, as is done elsewhere in the el2_setup code.

No functional change.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20240729162542.367059-1-Dave.Martin@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/el2_setup.h