]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: move FSR fault status definitions before fsr_fs()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 5 Dec 2025 15:36:09 +0000 (15:36 +0000)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 2 Mar 2026 11:20:24 +0000 (11:20 +0000)
commita542de4451093f310d20e3d65d62ab4f4d38241f
tree19048f92cd9454c59181bb08e31b210dfa45042f
parent5548e8a4663d9decc8215c53e4a41c704f183cbb
ARM: move FSR fault status definitions before fsr_fs()

The FSR's fault status bits depend on whether LPAE is enabled. Rather
than always exposing both LPAE and non-LPAE to all code, move them
inside the ifdef blocks dependent on LPAE to restrict their visibility.
No code other than fsr_fs() makes use of these.

Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/fault.h