put an #error directive when SMP and CPU_DISABLE_CMPXCHG are set
together. Requested by: Lars Eggart <larse@isi.edu> Enlighted how to do it by: John Baldwin <jhb@freebsd.org>
This commit is contained in:
parent
35c72bc070
commit
e34215c0e9
@ -21,6 +21,9 @@
|
||||
#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)
|
||||
#error SMP not supported with CPU_DISABLE_CMPXCHG
|
||||
#endif
|
||||
|
||||
#if defined(SMP) || defined(APIC_IO)
|
||||
|
||||
|
@ -21,6 +21,9 @@
|
||||
#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)
|
||||
#error SMP not supported with CPU_DISABLE_CMPXCHG
|
||||
#endif
|
||||
|
||||
#if defined(SMP) || defined(APIC_IO)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user