summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/exception.S
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-04-07 23:13:22 +0000
committerjhb <jhb@FreeBSD.org>2011-04-07 23:13:22 +0000
commitc30cef5071887482a0b9fe78a24dd0cbd7ebcb5d (patch)
tree122922301679149a4e6cbb0e13687d98e0064d7f /sys/amd64/amd64/exception.S
parentab2321a07e3bc40ee9bfad5ecd684d8715648d9c (diff)
downloadFreeBSD-src-c30cef5071887482a0b9fe78a24dd0cbd7ebcb5d.zip
FreeBSD-src-c30cef5071887482a0b9fe78a24dd0cbd7ebcb5d.tar.gz
pcb_flags is an int, so use testl rather than testq.
Pointy hat to: jhb Submitted by: jkim MFC after: 1 week
Diffstat (limited to 'sys/amd64/amd64/exception.S')
-rw-r--r--sys/amd64/amd64/exception.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
index 220cf23..2053a70 100644
--- a/sys/amd64/amd64/exception.S
+++ b/sys/amd64/amd64/exception.S
@@ -383,7 +383,7 @@ IDTVEC(fast_syscall)
movq %rsp,%rdi
call syscall
movq PCPU(CURPCB),%rax
- testq $PCB_FULL_IRET,PCB_FLAGS(%rax)
+ testl $PCB_FULL_IRET,PCB_FLAGS(%rax)
jne 3f
1: /* Check for and handle AST's on return to userland. */
cli
OpenPOWER on IntegriCloud