diff options
author | pirzyk <pirzyk@FreeBSD.org> | 2002-10-17 18:17:28 +0000 |
---|---|---|
committer | pirzyk <pirzyk@FreeBSD.org> | 2002-10-17 18:17:28 +0000 |
commit | 18c52287ef50fd030cb89d7356fc083a0d36af4c (patch) | |
tree | 293c59c154edb60afb59a8a1752c35b99e212c5f /sys/amd64/include/smp.h | |
parent | af79946f12495d3e31d802f242905d11dffe17b5 (diff) | |
download | FreeBSD-src-18c52287ef50fd030cb89d7356fc083a0d36af4c.zip FreeBSD-src-18c52287ef50fd030cb89d7356fc083a0d36af4c.tar.gz |
Add the !define(COMPILING_LINT)
pass the pointy hat...
Requested by: Juli Mallett <jmallett@FreeBSD.org>
Diffstat (limited to 'sys/amd64/include/smp.h')
-rw-r--r-- | sys/amd64/include/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h index ef5e684..f2250ff 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/smp.h @@ -21,7 +21,7 @@ #if defined(SMP) && !defined(APIC_IO) # error APIC_IO required for SMP, add "options APIC_IO" to your config file. #endif /* SMP && !APIC_IO */ -#if defined(SMP) && defined(CPU_DISABLE_CMPXCHG) +#if defined(SMP) && defined(CPU_DISABLE_CMPXCHG) && !defined(COMPILING_LINT) #error SMP not supported with CPU_DISABLE_CMPXCHG #endif |