summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2003-07-10 18:05:02 +0000
committermarkm <markm@FreeBSD.org>2003-07-10 18:05:02 +0000
commit2184143037977814193cc1a055860d1eb9497c34 (patch)
treeb37a168f9740ae0b00a94f283fef53c918ae60bb /sys/i386
parent4fe32afe30fb908adc5a0e3ca13f1b12acaf3eb8 (diff)
downloadFreeBSD-src-2184143037977814193cc1a055860d1eb9497c34.zip
FreeBSD-src-2184143037977814193cc1a055860d1eb9497c34.tar.gz
Protect lint(1) from a #error.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/mp_machdep.c2
-rw-r--r--sys/i386/i386/mptable.c2
-rw-r--r--sys/i386/include/mptable.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index c212ca7..9061759 100644
--- a/sys/i386/i386/mp_machdep.c
+++ b/sys/i386/i386/mp_machdep.c
@@ -33,8 +33,10 @@ __FBSDID("$FreeBSD$");
#ifdef SMP
#include <machine/smptests.h>
#else
+#if !defined(lint)
#error
#endif
+#endif
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c
index c212ca7..9061759 100644
--- a/sys/i386/i386/mptable.c
+++ b/sys/i386/i386/mptable.c
@@ -33,8 +33,10 @@ __FBSDID("$FreeBSD$");
#ifdef SMP
#include <machine/smptests.h>
#else
+#if !defined(lint)
#error
#endif
+#endif
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index c212ca7..9061759 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -33,8 +33,10 @@ __FBSDID("$FreeBSD$");
#ifdef SMP
#include <machine/smptests.h>
#else
+#if !defined(lint)
#error
#endif
+#endif
#include <sys/param.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud