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:
parent
ab2321a07e
commit
c30cef5071
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user