PERFORCE change 28771 for review

Peter Wemm peter at FreeBSD.org
Fri Apr 11 13:55:48 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28771

Change 28771 by peter at 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
 


More information about the p4-projects mailing list