diff options
author | kib <kib@FreeBSD.org> | 2015-11-30 10:18:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-11-30 10:18:15 +0000 |
commit | 8c1026b736c3fd3bbcccadb4629f5563e2e20b48 (patch) | |
tree | 3e37f0423333532ec5de418b986ff073260b6d49 | |
parent | 2912fa4385156db937dc3c23fc427c0152118a4c (diff) | |
download | FreeBSD-src-8c1026b736c3fd3bbcccadb4629f5563e2e20b48.zip FreeBSD-src-8c1026b736c3fd3bbcccadb4629f5563e2e20b48.tar.gz |
Shorten conditional branch code.
Reviewed by: andrew
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | sys/arm64/arm64/exception.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm64/arm64/exception.S b/sys/arm64/arm64/exception.S index 3dc484e..279f34f 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 |