Module Name:    src
Committed By:   nonaka
Date:           Thu Mar  6 12:30:25 UTC 2014

Modified Files:
        src/sys/arch/i386/i386: cpufunc.S

Log Message:
fix to pass collect memory address to xrstor.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/i386/cpufunc.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/i386/cpufunc.S
diff -u src/sys/arch/i386/i386/cpufunc.S:1.19 src/sys/arch/i386/i386/cpufunc.S:1.20
--- src/sys/arch/i386/i386/cpufunc.S:1.19	Tue Feb 25 22:16:52 2014
+++ src/sys/arch/i386/i386/cpufunc.S	Thu Mar  6 12:30:24 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpufunc.S,v 1.19 2014/02/25 22:16:52 dsl Exp $	*/
+/*	$NetBSD: cpufunc.S,v 1.20 2014/03/06 12:30:24 nonaka Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <sys/errno.h>
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.19 2014/02/25 22:16:52 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.20 2014/03/06 12:30:24 nonaka Exp $");
 
 #include "opt_xen.h"
 
@@ -427,7 +427,7 @@ ENTRY(xrstor)
 	movl	4(%esp), %ecx
 	movl	8(%esp), %eax	/* feature mask bits */
 	movl	12(%esp), %edx
-	xrstor	(%eax)
+	xrstor	(%ecx)
 	ret
 END(xrstor)
 

Reply via email to