summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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