From c30cef5071887482a0b9fe78a24dd0cbd7ebcb5d Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 7 Apr 2011 23:13:22 +0000 Subject: pcb_flags is an int, so use testl rather than testq. Pointy hat to: jhb Submitted by: jkim MFC after: 1 week --- sys/amd64/amd64/exception.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/amd64/amd64/exception.S') 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 -- cgit v1.1