summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2001-03-09 11:34:29 +0000
committerDoug Rabson <dfr@FreeBSD.org>2001-03-09 11:34:29 +0000
commit288c7d772ca22a14a3dcf97aac2ffb81d4d53d71 (patch)
treea61f15be8341748a7782965a3b61ada2117ab38b
parent7f3a1ed2a741885a0fd18236a74233bac0194368 (diff)
Notes
-rw-r--r--sys/sys/user.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/sys/user.h b/sys/sys/user.h
index 4843691456ac..9944c0d9de8f 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -74,9 +74,16 @@
*/
#ifdef __alpha__
#define KINFO_PROC_SIZE 912 /* the correct size for kinfo_proc */
-#else
+#endif
+#ifdef __ia64__
+#define KINFO_PROC_SIZE 888
+#endif
+#ifdef __i386__
#define KINFO_PROC_SIZE 648 /* the correct size for kinfo_proc */
#endif
+#ifndef KINFO_PROC_SIZE
+#error "Unknown architecture"
+#endif
#define WMESGLEN 8 /* size of returned wchan message */
#define MTXNAMELEN 8 /* size of returned mutex name */