diff options
author | markm <markm@FreeBSD.org> | 2003-07-10 18:05:02 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-07-10 18:05:02 +0000 |
commit | 2184143037977814193cc1a055860d1eb9497c34 (patch) | |
tree | b37a168f9740ae0b00a94f283fef53c918ae60bb | |
parent | 4fe32afe30fb908adc5a0e3ca13f1b12acaf3eb8 (diff) | |
download | FreeBSD-src-2184143037977814193cc1a055860d1eb9497c34.zip FreeBSD-src-2184143037977814193cc1a055860d1eb9497c34.tar.gz |
Protect lint(1) from a #error.
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 2 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 2 | ||||
-rw-r--r-- | sys/i386/i386/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/mptable.c | 2 | ||||
-rw-r--r-- | sys/i386/include/mptable.h | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index c212ca7..9061759 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/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/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index c212ca7..9061759 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/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/amd64/include/mptable.h b/sys/amd64/include/mptable.h index c212ca7..9061759 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/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> 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> |