summaryrefslogtreecommitdiffstats
path: root/src/include/smp
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-07-21 20:13:45 +0000
committerEric Biederman <ebiederm@xmission.com>2003-07-21 20:13:45 +0000
commit2c018fba95a5f40c4eaaa20421e8c893dffdb62e (patch)
tree3b6ecc6eb72d145dd70bb549fe0130370d7e40fb /src/include/smp
parent6d4512cdf976fc071720dbec686cf8a1a40f1db0 (diff)
downloadcoreboot-2c018fba95a5f40c4eaaa20421e8c893dffdb62e.tar.gz
coreboot-2c018fba95a5f40c4eaaa20421e8c893dffdb62e.tar.bz2
coreboot-2c018fba95a5f40c4eaaa20421e8c893dffdb62e.zip
- First pass at s2880 support.
- SMP cleanups (remove SMP only use CONFIG_SMP) - Minor tweaks to romcc to keep it from taking forever compiling - failover fixes - Get a good implementation of k8_cpufixup and sizeram for the opteron git-svn-id: svn://svn.coreboot.org/coreboot/trunk@998 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/smp')
-rw-r--r--src/include/smp/atomic.h4
-rw-r--r--src/include/smp/spinlock.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/smp/atomic.h b/src/include/smp/atomic.h
index b36e0e20515d..4748990f1243 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 SMP
+#ifdef CONFIG_SMP
#include <arch/smp/atomic.h>
#else
@@ -48,6 +48,6 @@ typedef struct { int counter; } atomic_t;
#define atomic_dec(v) (((v)->counter)--)
-#endif /* SMP */
+#endif /* CONFIG_SMP */
#endif /* SMP_ATOMIC_H */
diff --git a/src/include/smp/spinlock.h b/src/include/smp/spinlock.h
index 9e0f8af0a966..77a0e51682d1 100644
--- a/src/include/smp/spinlock.h
+++ b/src/include/smp/spinlock.h
@@ -1,9 +1,9 @@
#ifndef SMP_SPINLOCK_H
#define SMP_SPINLOCK_H
-#ifdef SMP
+#ifdef CONFIG_SMP
#include <arch/smp/spinlock.h>
-#else /* !SMP */
+#else /* !CONFIG_SMP */
/* Most GCC versions have a nasty bug with empty initializers */
#if (__GNUC__ > 2)