amd64 nmi handler: fix comment about %ebx
Reported by: markj MFC after: 3 days
This commit is contained in:
parent
d39f7430a6
commit
098dbd7ff7
@ -940,7 +940,7 @@ outofnmi:
|
|||||||
cli
|
cli
|
||||||
nocallchain:
|
nocallchain:
|
||||||
#endif
|
#endif
|
||||||
testl %ebx,%ebx /* %ebx == 0 => return to userland */
|
testl %ebx,%ebx /* %ebx != 0 => return to userland */
|
||||||
jnz doreti_exit
|
jnz doreti_exit
|
||||||
/*
|
/*
|
||||||
* Restore speculation control MSR, if preserved.
|
* Restore speculation control MSR, if preserved.
|
||||||
@ -1059,7 +1059,7 @@ mchk_calltrap:
|
|||||||
movq %rsp,%rdi
|
movq %rsp,%rdi
|
||||||
call mca_intr
|
call mca_intr
|
||||||
MEXITCOUNT
|
MEXITCOUNT
|
||||||
testl %ebx,%ebx /* %ebx == 0 => return to userland */
|
testl %ebx,%ebx /* %ebx != 0 => return to userland */
|
||||||
jnz doreti_exit
|
jnz doreti_exit
|
||||||
/*
|
/*
|
||||||
* Restore speculation control MSR, if preserved.
|
* Restore speculation control MSR, if preserved.
|
||||||
|
Loading…
Reference in New Issue
Block a user