Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 13:55:46 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28771 for review
Message-ID:  <200304112055.h3BKtkwN086881@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28771

Change 28771 by peter@peter_daintree on 2003/04/11 13:55:11

	I think I'm going to cry.

Affected files ...

.. //depot/projects/hammer/sys/x86_64/x86_64/support.s#18 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/x86_64/support.s#18 (text+ko) ====

@@ -372,11 +372,11 @@
  *	return the actual length in *lencopied.
  */
 ENTRY(copyinstr)
-	movq	PCPU(CURPCB),%rcx
-	movq	$cpystrflt,PCB_ONFAULT(%rcx)
 	movq	%rdx, %r8			/* %r8 = maxlen */
 	movq	%rcx, %r9			/* %r9 = *len */
 	xchgq	%rdi, %rsi			/* %rdi = from, %rsi = to */
+	movq	PCPU(CURPCB),%rcx
+	movq	$cpystrflt,PCB_ONFAULT(%rcx)
 
 	movq	$VM_MAXUSER_ADDRESS,%rax
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304112055.h3BKtkwN086881>