Author: jhb
Date: Thu Apr  7 23:13:22 2011
New Revision: 220431
URL: http://svn.freebsd.org/changeset/base/220431

Log:
  pcb_flags is an int, so use testl rather than testq.
  
  Pointy hat to:        jhb
  Submitted by: jkim
  MFC after:    1 week

Modified:
  head/sys/amd64/amd64/exception.S

Modified: head/sys/amd64/amd64/exception.S
==============================================================================
--- head/sys/amd64/amd64/exception.S    Thu Apr  7 21:32:25 2011        
(r220430)
+++ head/sys/amd64/amd64/exception.S    Thu Apr  7 23:13:22 2011        
(r220431)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to