summaryrefslogtreecommitdiffstats
path: root/sys/sys/user.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-05-03 01:41:37 +0000
committermarcel <marcel@FreeBSD.org>2002-05-03 01:41:37 +0000
commit20d0f94ddc7dea6947e89c901881ab755ae32d34 (patch)
tree3773d474c5bd6e81c20d135079397975f0a338f6 /sys/sys/user.h
parentafb49cba0dff86548cb42f8d4eb03d29f5aa97d2 (diff)
downloadFreeBSD-src-20d0f94ddc7dea6947e89c901881ab755ae32d34.zip
FreeBSD-src-20d0f94ddc7dea6947e89c901881ab755ae32d34.tar.gz
Adjust KINFO_PROC_SIZE due to segsz_t being changed from a 32-bit to
a 64-bit integral.
Diffstat (limited to 'sys/sys/user.h')
-rw-r--r--sys/sys/user.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/user.h b/sys/sys/user.h
index ee21f27..dfcb7ea 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -74,12 +74,9 @@
* 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.
*/
-#if defined(__alpha__) || defined(__sparc64__)
+#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
#define KINFO_PROC_SIZE 912 /* the correct size for kinfo_proc */
#endif
-#ifdef __ia64__
-#define KINFO_PROC_SIZE 888
-#endif
#ifdef __i386__
#define KINFO_PROC_SIZE 648 /* the correct size for kinfo_proc */
#endif
OpenPOWER on IntegriCloud