diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-07 16:10:02 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-07 16:10:02 +0000 |
commit | f9ac5172293af04201033d35c0f23c3b4e16e1bc (patch) | |
tree | e9ea4f3c339ea0fb9f7fdc2cb1c44c41b87344d3 /sys/i386 | |
parent | 48a226d4c835b83eafbfa399f61d7c6f2163a291 (diff) | |
download | FreeBSD-src-f9ac5172293af04201033d35c0f23c3b4e16e1bc.zip FreeBSD-src-f9ac5172293af04201033d35c0f23c3b4e16e1bc.tar.gz |
Test for both SMP and I386_CPU being set before generating an error.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index 20d4fa3..59dcb16 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -15,7 +15,7 @@ #ifdef _KERNEL -#ifdef I386_CPU +#if defined(SMP) && defined(I386_CPU) #error SMP not supported with I386_CPU #endif #if defined(SMP) && !defined(APIC_IO) |