From c30cef5071887482a0b9fe78a24dd0cbd7ebcb5d Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 7 Apr 2011 23:13:22 +0000 Subject: [PATCH] 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(-) diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index 220cf23118b6..2053a70e2690 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