diff --git a/sys/arm64/arm64/exception.S b/sys/arm64/arm64/exception.S index 3dc484e33ee..279f34f4804 100644 --- a/sys/arm64/arm64/exception.S +++ b/sys/arm64/arm64/exception.S @@ -116,8 +116,7 @@ __FBSDID("$FreeBSD$"); mov x3, #((TDF_ASTPENDING|TDF_NEEDRESCHED) >> 8) lsl x3, x3, #8 and x2, x2, x3 - cmp x2, #0 - b.eq 2f + cbz x2, 2f /* Restore interrupts */ msr daif, x19