]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64/sysreg: Move generation of RES0/RES1/UNKN to function
authorSascha Bischoff <Sascha.Bischoff@arm.com>
Wed, 22 Oct 2025 13:45:37 +0000 (13:45 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 13 Nov 2025 18:09:46 +0000 (18:09 +0000)
commita0b130eedde0bc8c2d03932539e6753e2f0f70bc
tree5cc4d3c00085ccbcd2a3855ea5728030e0f1ff7a
parentfe2ef46995d5db49a37337f11fe2c6733676c24c
arm64/sysreg: Move generation of RES0/RES1/UNKN to function

The RESx and UNKN define generation happens in two places
(EndSysreg and EndSysregFields), and was using nearly identical
code. Split this out into a function, and call that instead, rather
then keeping the dupliated code.

There are no changes to the generated sysregs as part of this change.

Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/tools/gen-sysreg.awk