diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-23 18:50:06 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-23 18:50:06 +0000 |
commit | 23e107f1844b599631c310c2f9872f01da9efce3 (patch) | |
tree | 37d00ab6248dfdb9998e2d1f05eba6b598d48a30 /src/include | |
parent | 2910a2b5454f8de76c281739ae84814a4a1b47e3 (diff) | |
download | coreboot-23e107f1844b599631c310c2f9872f01da9efce3.tar.xz |
fixed defines
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1010 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/smp/atomic.h | 2 | ||||
-rw-r--r-- | 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 <arch/smp/atomic.h> #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 <arch/smp/spinlock.h> #else /* !CONFIG_SMP */ |