Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Remove last vestiges of procfs references...
details: https://anonhg.NetBSD.org/src/rev/823098b4e88f
branches: trunk
changeset: 526773:823098b4e88f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri May 10 05:45:50 2002 +0000
description:
Remove last vestiges of procfs references. Problem pointed out
by Geoff Wing <mason%primenet.com.au@localhost>.
diffstat:
sys/arch/i386/i386/process_machdep.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r 46e117b76b4f -r 823098b4e88f sys/arch/i386/i386/process_machdep.c
--- a/sys/arch/i386/i386/process_machdep.c Fri May 10 05:38:29 2002 +0000
+++ b/sys/arch/i386/i386/process_machdep.c Fri May 10 05:45:50 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: process_machdep.c,v 1.43 2002/05/09 16:28:11 thorpej Exp $ */
+/* $NetBSD: process_machdep.c,v 1.44 2002/05/10 05:45:50 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.43 2002/05/09 16:28:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.44 2002/05/10 05:45:50 thorpej Exp $");
#include "opt_vm86.h"
#include "npx.h"
@@ -75,8 +75,6 @@
#include <uvm/uvm_extern.h>
-#include <miscfs/procfs/procfs.h>
-
#include <machine/psl.h>
#include <machine/reg.h>
#include <machine/segments.h>
@@ -489,7 +487,7 @@
case PT_GETXMMREGS:
/* write = 0 done above. */
- if (!procfs_machdep_validxmmregs(t, NULL))
+ if (!process_machdep_validxmmregs(t))
return (EINVAL);
else {
iov.iov_base = addr;
@@ -501,7 +499,7 @@
uio.uio_segflg = UIO_USERSPACE;
uio.uio_rw = write ? UIO_WRITE : UIO_READ;
uio.uio_procp = p;
- return (procfs_machdep_doxmmregs(p, t, NULL, &uio));
+ return (process_machdep_doxmmregs(p, t, &uio));
}
}
Home |
Main Index |
Thread Index |
Old Index