Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/nvmm/x86 Fix another gross copy-pasto.



details:   https://anonhg.NetBSD.org/src/rev/c9c1924735da
branches:  trunk
changeset: 447175:c9c1924735da
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Jan 03 08:02:49 2019 +0000

description:
Fix another gross copy-pasto.

diffstat:

 sys/dev/nvmm/x86/nvmm_x86_svm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c7db27dbb530 -r c9c1924735da sys/dev/nvmm/x86/nvmm_x86_svm.c
--- a/sys/dev/nvmm/x86/nvmm_x86_svm.c   Wed Jan 02 22:58:44 2019 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86_svm.c   Thu Jan 03 08:02:49 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86_svm.c,v 1.8 2019/01/02 12:18:08 maxv Exp $    */
+/*     $NetBSD: nvmm_x86_svm.c,v 1.9 2019/01/03 08:02:49 maxv Exp $    */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.8 2019/01/02 12:18:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_svm.c,v 1.9 2019/01/03 08:02:49 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1820,7 +1820,7 @@
                memcpy(&cstate->fpu, cpudata->gfpu.xsh_fxsave,
                    sizeof(cstate->fpu));
 
-               memcpy(&cstate->fpu, &nstate->fpu, sizeof(cstate->fpu));
+               memcpy(&nstate->fpu, &cstate->fpu, sizeof(cstate->fpu));
        }
 }
 



Home | Main Index | Thread Index | Old Index