From 762232f3d79524d49d74128360e73e1d83d2071d Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 12 Jan 1995 16:30:52 +0000 Subject: [PATCH] The sparc port no longer needs special casing. --- lib/libkvm/kvm_proc.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 195fdcd7b617..4841f4fbf406 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -395,17 +395,9 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt) (void)kvm_read(kd, (u_long)proc.p_wmesg, eproc.e_wmesg, WMESGLEN); -#ifdef sparc - (void)kvm_read(kd, (u_long)&proc.p_vmspace->vm_rssize, - (char *)&eproc.e_vm.vm_rssize, - sizeof(eproc.e_vm.vm_rssize)); - (void)kvm_read(kd, (u_long)&proc.p_vmspace->vm_tsize, - (char *)&eproc.e_vm.vm_tsize, - 3 * sizeof(eproc.e_vm.vm_rssize)); /* XXX */ -#else (void)kvm_read(kd, (u_long)proc.p_vmspace, (char *)&eproc.e_vm, sizeof(eproc.e_vm)); -#endif + eproc.e_xsize = eproc.e_xrssize = 0; eproc.e_xccount = eproc.e_xswrss = 0;