summaryrefslogtreecommitdiffstats
path: root/sys/dev/ct
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-30 07:32:58 +0000
committeralfred <alfred@FreeBSD.org>2002-05-30 07:32:58 +0000
commit26c9c27f03bdb0ef924ca84475566e77d01c14d5 (patch)
treee28fa7a497a1f756cd06d2e16ccb65be76af020c /sys/dev/ct
parent4320d2c0b94ff0dc507427f40628e753166b2815 (diff)
downloadFreeBSD-src-26c9c27f03bdb0ef924ca84475566e77d01c14d5.zip
FreeBSD-src-26c9c27f03bdb0ef924ca84475566e77d01c14d5.tar.gz
Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
Diffstat (limited to 'sys/dev/ct')
-rw-r--r--sys/dev/ct/ct_machdep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ct/ct_machdep.h b/sys/dev/ct/ct_machdep.h
index f407aa5..dd3cc7a 100644
--- a/sys/dev/ct/ct_machdep.h
+++ b/sys/dev/ct/ct_machdep.h
@@ -208,9 +208,9 @@ ct_cmdp_write_1(chp, val)
CT_BUS_WEIGHT(chp)
}
-#if defined(i386)
+#if defined(__i386__)
#define SOFT_INTR_REQUIRED(slp) (softintr((slp)->sl_irq))
-#else /* !i386 */
+#else /* !__i386__ */
#define SOFT_INTR_REQUIRED(slp)
-#endif /* !i386 */
+#endif /* !__i386__ */
#endif /* !_CT_MACHDEP_H_ */
OpenPOWER on IntegriCloud