diff --git a/sys/sys/user.h b/sys/sys/user.h index de49e9278ef5..ee21f27b9e09 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