diff options
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/smp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h index d669c51..ef5e684 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/smp.h @@ -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) |