]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: move is_permission_fault() and is_translation_fault() to fault.h
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 5 Dec 2025 15:25:24 +0000 (15:25 +0000)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 2 Mar 2026 11:20:06 +0000 (11:20 +0000)
commit9c46fcaf2efa78e814e102c5828cf5c825a133ec
treed7e88385ac14b314330bec8bd1c3313c0d440fa0
parent78900204851708bbe761c3acf641ad60f15c922f
ARM: move is_permission_fault() and is_translation_fault() to fault.h

is_permission_fault() and is_translation_fault() are both conditional
on the FSR encodings, which are dependent on LPAE. We define the
constants in fault.h. Move these inline functions to fault.h to be
near the FSR definitions.

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