arm64: Fix the ESR_ELx_EC_MASK definition

Sponsored by:	Arm Ltd
This commit is contained in:
Andrew Turner
2026-02-18 15:10:44 +00:00
parent bfb7c81f93
commit f4d1a3ab02
+1 -1
View File
@@ -658,7 +658,7 @@
#define ISS_DATA_DFSC_TLB_CONFLICT (0x30 << 0)
#define ESR_ELx_IL (0x01 << 25)
#define ESR_ELx_EC_SHIFT 26
#define ESR_ELx_EC_MASK (0x3f << 26)
#define ESR_ELx_EC_MASK (UL(0x3f) << 26)
#define ESR_ELx_EXCEPTION(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT)
#define EXCP_UNKNOWN 0x00 /* Unkwn exception */
#define EXCP_TRAP_WFI_WFE 0x01 /* Trapped WFI or WFE */