Correct KINFO_PROC_SIZE for sparc64 due to segsz_t change.

This commit is contained in:
Jake Burkholder 2002-04-06 08:30:05 +00:00
parent da07128555
commit 902200a1e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93948

View File

@ -74,7 +74,7 @@
* to initialize it in two places: kern/kern_proc.c in the function
* fill_kinfo_proc and in lib/libkvm/kvm_proc.c in the function kvm_proclist.
*/
#ifdef __alpha__
#if defined(__alpha__) || defined(__sparc64__)
#define KINFO_PROC_SIZE 912 /* the correct size for kinfo_proc */
#endif
#ifdef __ia64__
@ -86,9 +86,6 @@
#ifdef __powerpc__
#define KINFO_PROC_SIZE 656
#endif
#ifdef __sparc64__
#define KINFO_PROC_SIZE 888
#endif
#ifndef KINFO_PROC_SIZE
#error "Unknown architecture"
#endif