Module Name: src
Committed By: he
Date: Thu Jan 20 11:59:25 UTC 2011
Modified Files:
src/sys/compat/linux/arch/powerpc: linux_machdep.c
Log Message:
save_fpu_lwp() was renamed to fpu_save_lwp(), so follow suit.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/compat/linux/arch/powerpc/linux_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/linux/arch/powerpc/linux_machdep.c
diff -u src/sys/compat/linux/arch/powerpc/linux_machdep.c:1.44 src/sys/compat/linux/arch/powerpc/linux_machdep.c:1.45
--- src/sys/compat/linux/arch/powerpc/linux_machdep.c:1.44 Tue Jan 18 01:13:03 2011
+++ src/sys/compat/linux/arch/powerpc/linux_machdep.c Thu Jan 20 11:59:24 2011
@@ -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));