Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/powerpc save_fpu_lwp() was renamed to ...



details:   https://anonhg.NetBSD.org/src/rev/453762368cb9
branches:  trunk
changeset: 761198:453762368cb9
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 20 11:59:24 2011 +0000

description:
save_fpu_lwp() was renamed to fpu_save_lwp(), so follow suit.

diffstat:

 sys/compat/linux/arch/powerpc/linux_machdep.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r ee7d21fdc35e -r 453762368cb9 sys/compat/linux/arch/powerpc/linux_machdep.c
--- a/sys/compat/linux/arch/powerpc/linux_machdep.c     Thu Jan 20 11:46:19 2011 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_machdep.c     Thu Jan 20 11:59:24 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.44 2011/01/18 01:13:03 matt Exp $ */
+/*     $NetBSD: linux_machdep.c,v 1.45 2011/01/20 11:59:24 he Exp $ */
 
 /*-
  * Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.44 2011/01/18 01:13:03 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.45 2011/01/20 11:59:24 he Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -181,7 +181,7 @@
        memset(&frame, 0, sizeof(frame));
        memcpy(&frame.lgp_regs, &linux_regs, sizeof(linux_regs));
 
-       save_fpu_lwp(curlwp, FPU_SAVE);
+       fpu_save_lwp(curlwp, FPU_SAVE);
        memcpy(&frame.lfp_regs, curpcb->pcb_fpu.fpreg, sizeof(frame.lfp_regs));
 
        /*
@@ -319,7 +319,7 @@
        /*
         * Make sure the fpu state is discarded
         */
-       save_fpu_lwp(curlwp, FPU_DISCARD);
+       fpu_save_lwp(curlwp, FPU_DISCARD);
 
        memcpy(curpcb->pcb_fpu.fpreg, (void *)&sregs.lfp_regs,
               sizeof(curpcb->pcb_fpu.fpreg));
@@ -409,7 +409,7 @@
        /*
         * Make sure the fpu state is discarded
         */
-       save_fpu_lwp(curlwp, FPU_DISCARD);
+       fpu_save_lwp(curlwp, FPU_DISCARD);
 
        memcpy(curpcb->pcb_fpu.fpreg, (void *)&sregs.lfp_regs,
               sizeof(curpcb->pcb_fpu.fpreg));



Home | Main Index | Thread Index | Old Index