diff options
Diffstat (limited to 'arch/arm64/include/asm/asm_pointer_auth.h')
| -rw-r--r-- | arch/arm64/include/asm/asm_pointer_auth.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/arm64/include/asm/asm_pointer_auth.h b/arch/arm64/include/asm/asm_pointer_auth.h index ead62f7dd269..13ecc79854ee 100644 --- a/arch/arm64/include/asm/asm_pointer_auth.h +++ b/arch/arm64/include/asm/asm_pointer_auth.h @@ -59,9 +59,9 @@ alternative_else_nop_endif  	.macro __ptrauth_keys_init_cpu tsk, tmp1, tmp2, tmp3  	mrs	\tmp1, id_aa64isar1_el1 -	ubfx	\tmp1, \tmp1, #ID_AA64ISAR1_APA_SHIFT, #8 +	ubfx	\tmp1, \tmp1, #ID_AA64ISAR1_EL1_APA_SHIFT, #8  	mrs_s	\tmp2, SYS_ID_AA64ISAR2_EL1 -	ubfx	\tmp2, \tmp2, #ID_AA64ISAR2_APA3_SHIFT, #4 +	ubfx	\tmp2, \tmp2, #ID_AA64ISAR2_EL1_APA3_SHIFT, #4  	orr	\tmp1, \tmp1, \tmp2  	cbz	\tmp1, .Lno_addr_auth\@  	mov_q	\tmp1, (SCTLR_ELx_ENIA | SCTLR_ELx_ENIB | \ |