summaryrefslogtreecommitdiffstats
path: root/sys/dev/nsp
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-30 07:13:40 +0000
committeralfred <alfred@FreeBSD.org>2002-05-30 07:13:40 +0000
commitcf295fd4a0f6a67861dc0809060376d1d1bf7fb7 (patch)
tree249ed7c55968b92b4b8740ed5f8bda1a8b2f1cf0 /sys/dev/nsp
parent166dc2c9af70098cd040f01a42ba83298b224847 (diff)
downloadFreeBSD-src-cf295fd4a0f6a67861dc0809060376d1d1bf7fb7.zip
FreeBSD-src-cf295fd4a0f6a67861dc0809060376d1d1bf7fb7.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/nsp')
-rw-r--r--sys/dev/nsp/nspvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/nsp/nspvar.h b/sys/dev/nsp/nspvar.h
index 1d331b1..db8e4a8 100644
--- a/sys/dev/nsp/nspvar.h
+++ b/sys/dev/nsp/nspvar.h
@@ -105,9 +105,9 @@ void nspattachsubr(struct nsp_softc *);
int nspprint(void *, const char *);
int nspintr(void *);
-#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 /* !_NSPVAR_H_ */
OpenPOWER on IntegriCloud