aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-12-27 10:47:36 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-12-27 10:59:33 +0000
commit098dbd7ff7f3da9dda03802cdb2d8755f816eada (patch)
tree5bccbb42630b313db50b4ca89da71d5262ced767
parentd39f7430a6e1da419d6e4fb871bca5ba7863f738 (diff)
-rw-r--r--sys/amd64/amd64/exception.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
index 6b56a2c8a50e..3fb518179406 100644
--- a/sys/amd64/amd64/exception.S
+++ b/sys/amd64/amd64/exception.S
@@ -940,7 +940,7 @@ outofnmi:
cli
nocallchain:
#endif
- testl %ebx,%ebx /* %ebx == 0 => return to userland */
+ testl %ebx,%ebx /* %ebx != 0 => return to userland */
jnz doreti_exit
/*
* Restore speculation control MSR, if preserved.
@@ -1059,7 +1059,7 @@ mchk_calltrap:
movq %rsp,%rdi
call mca_intr
MEXITCOUNT
- testl %ebx,%ebx /* %ebx == 0 => return to userland */
+ testl %ebx,%ebx /* %ebx != 0 => return to userland */
jnz doreti_exit
/*
* Restore speculation control MSR, if preserved.