From 51ea83a9f5e99c14bea35d7ad2b137cb7fe5af18 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 10 May 2002 05:45:50 +0000 Subject: [PATCH] Remove last vestiges of procfs references. Problem pointed out by Geoff Wing . --- sys/arch/i386/i386/process_machdep.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/arch/i386/i386/process_machdep.c b/sys/arch/i386/i386/process_machdep.c index 1221e4a8428c..66d6ad2c3b13 100644 --- a/sys/arch/i386/i386/process_machdep.c +++ b/sys/arch/i386/i386/process_machdep.c @@ -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 -__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 @@ __KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.43 2002/05/09 16:28:11 thorpej #include -#include - #include #include #include @@ -489,7 +487,7 @@ ptrace_machdep_dorequest(p, t, req, addr, data) 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 @@ ptrace_machdep_dorequest(p, t, req, addr, data) 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)); } }