diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isp/isp_freebsd.h | 5 | ||||
-rw-r--r-- | sys/dev/isp/isp_tpublic.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 67abd62..66533ca 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -164,8 +164,11 @@ struct isposinfo { #define MAXISPREQUEST(isp) 256 -#ifdef __alpha__ +#if defined(__alpha__) #define MEMORYBARRIER(isp, type, offset, size) alpha_mb() +#elif defined(__ia64__) +#define MEMORYBARRIER(isp, type, offset, size) \ + do { ia64_mf(); ia64_mf_a(); } while (0) #else #define MEMORYBARRIER(isp, type, offset, size) #endif diff --git a/sys/dev/isp/isp_tpublic.h b/sys/dev/isp/isp_tpublic.h index 4a03c99..548dea7 100644 --- a/sys/dev/isp/isp_tpublic.h +++ b/sys/dev/isp/isp_tpublic.h @@ -183,7 +183,8 @@ typedef struct { */ #ifndef _LP64 -#if defined(__alpha__) || defined(__sparcv9cpu) || defined(__sparc_v9__) +#if defined(__alpha__) || defined(__sparcv9cpu) || defined(__sparc_v9__) ||\ + defined(__ia64__) #define _LP64 #endif #endif |