diff options
Diffstat (limited to 'arch/arm/mm/fault.h')
-rw-r--r-- | arch/arm/mm/fault.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/fault.h b/arch/arm/mm/fault.h index 67532f242271..afc1f84e763b 100644 --- a/arch/arm/mm/fault.h +++ b/arch/arm/mm/fault.h | |||
@@ -11,11 +11,15 @@ | |||
11 | #define FSR_FS5_0 (0x3f) | 11 | #define FSR_FS5_0 (0x3f) |
12 | 12 | ||
13 | #ifdef CONFIG_ARM_LPAE | 13 | #ifdef CONFIG_ARM_LPAE |
14 | #define FSR_FS_AEA 17 | ||
15 | |||
14 | static inline int fsr_fs(unsigned int fsr) | 16 | static inline int fsr_fs(unsigned int fsr) |
15 | { | 17 | { |
16 | return fsr & FSR_FS5_0; | 18 | return fsr & FSR_FS5_0; |
17 | } | 19 | } |
18 | #else | 20 | #else |
21 | #define FSR_FS_AEA 22 | ||
22 | |||
19 | static inline int fsr_fs(unsigned int fsr) | 23 | static inline int fsr_fs(unsigned int fsr) |
20 | { | 24 | { |
21 | return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6; | 25 | return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6; |