summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/mount.h2
-rw-r--r--sys/sys/param.h2
-rw-r--r--sys/sys/user.h3
3 files changed, 5 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index d35a204..e2d53ab 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -75,7 +75,7 @@ struct fid {
#if defined(__i386__) || defined(__powerpc__)
#define MNAMELEN 80 /* length of buffer for returned name */
#endif
-#if defined(__alpha__) || defined(__ia64__)
+#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
#define MNAMELEN 72 /* length of buffer for returned name */
#endif
diff --git a/sys/sys/param.h b/sys/sys/param.h
index c3d46e4..ca1590e 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -203,7 +203,7 @@
* Constraints: PAGE_SIZE <= MAXALLOCSAVE <= 2 ** (MINBUCKET + 14), and
* MAXALLOCSIZE must be a power of two.
*/
-#if defined(__alpha__) || defined(__ia64__)
+#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
#define MINBUCKET 5 /* 5 => min allocation of 32 bytes */
#else
#define MINBUCKET 4 /* 4 => min allocation of 16 bytes */
diff --git a/sys/sys/user.h b/sys/sys/user.h
index d89e39a..5f74d60 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -85,6 +85,9 @@
#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