summaryrefslogtreecommitdiffstats
path: root/sys/sys/user.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-04-06 08:30:05 +0000
committerjake <jake@FreeBSD.org>2002-04-06 08:30:05 +0000
commit078956266f0b5fe4f560e990be92beb5d4417619 (patch)
tree60dc16f82905c68350fcabb93f7df4984c386a20 /sys/sys/user.h
parent4519c96e9338dcf9ac17b86e89e3f6e4783cacd3 (diff)
downloadFreeBSD-src-078956266f0b5fe4f560e990be92beb5d4417619.zip
FreeBSD-src-078956266f0b5fe4f560e990be92beb5d4417619.tar.gz
Correct KINFO_PROC_SIZE for sparc64 due to segsz_t change.
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 de49e92..ee21f27 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -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
OpenPOWER on IntegriCloud