summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-09-29 13:36:47 +0000
committerdfr <dfr@FreeBSD.org>2000-09-29 13:36:47 +0000
commitfa6af7ab3eed1a53d0df517fc2c374fd886c6e63 (patch)
treee88ce60d46c9582087f1a66ba66c80e42062e113 /sys
parent0c17b5646b168002db563bffc60b7fa2db5d3b00 (diff)
downloadFreeBSD-src-fa6af7ab3eed1a53d0df517fc2c374fd886c6e63.zip
FreeBSD-src-fa6af7ab3eed1a53d0df517fc2c374fd886c6e63.tar.gz
Add ia64 support.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/md5c.c2
-rw-r--r--sys/sys/mount.h2
-rw-r--r--sys/sys/param.h2
-rw-r--r--sys/sys/systm.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c
index 700d589..258996e 100644
--- a/sys/kern/md5c.c
+++ b/sys/kern/md5c.c
@@ -44,7 +44,7 @@
#define memcpy(x,y,z) bcopy(y, x, z)
#endif
-#if defined(__i386__) || defined(__alpha__)
+#if defined(__i386__) || defined(__alpha__) || defined(__ia64__)
#define Encode memcpy
#define Decode memcpy
#else /* __i386__ */
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 14cad4c..c7c0e93 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -70,7 +70,7 @@ struct fid {
#ifdef __i386__
#define MNAMELEN 80 /* length of buffer for returned name */
#endif
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__ia64__)
#define MNAMELEN 72 /* length of buffer for returned name */
#endif
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 9e08e7b..43b0938 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -214,7 +214,7 @@
* Constraints: PAGE_SIZE <= MAXALLOCSAVE <= 2 ** (MINBUCKET + 14), and
* MAXALLOCSIZE must be a power of two.
*/
-#if defined(__alpha__)
+#if defined(__alpha__) || defined(__ia64__)
#define MINBUCKET 5 /* 5 => min allocation of 32 bytes */
#else
#define MINBUCKET 4 /* 4 => min allocation of 16 bytes */
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index bd4cda6..3c5c5b8 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -247,7 +247,7 @@ void splx __P((intrmask_t ipl));
void splz __P((void));
#endif /* __i386__ */
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__ia64__)
#include <machine/ipl.h>
#endif
OpenPOWER on IntegriCloud