svn commit: r220431 - head/sys/amd64/amd64

John Baldwin jhb at FreeBSD.org
Thu Apr 7 23:13:23 UTC 2011


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


More information about the svn-src-all mailing list