pcb_flags is an int, so use testl rather than testq.

Pointy hat to:	jhb
Submitted by:	jkim
MFC after:	1 week
This commit is contained in:
jhb 2011-04-07 23:13:22 +00:00
parent ab2321a07e
commit c30cef5071

View File

@ -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