From 23e107f1844b599631c310c2f9872f01da9efce3 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 23 Jul 2003 18:50:06 +0000 Subject: [PATCH] fixed defines git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1010 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/smp/atomic.h | 2 +- src/include/smp/spinlock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/smp/atomic.h b/src/include/smp/atomic.h index 4748990f12..09a77e72f1 100644 --- a/src/include/smp/atomic.h +++ b/src/include/smp/atomic.h @@ -1,7 +1,7 @@ #ifndef SMP_ATOMIC_H #define SMP_ATOMIC_H -#ifdef CONFIG_SMP +#if CONFIG_SMP == 1 #include #else diff --git a/src/include/smp/spinlock.h b/src/include/smp/spinlock.h index 77a0e51682..29f348dea0 100644 --- a/src/include/smp/spinlock.h +++ b/src/include/smp/spinlock.h @@ -1,7 +1,7 @@ #ifndef SMP_SPINLOCK_H #define SMP_SPINLOCK_H -#ifdef CONFIG_SMP +#if CONFIG_SMP == 1 #include #else /* !CONFIG_SMP */