fixed defines
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1010 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/include/smp/atomic.h b/src/include/smp/atomic.h
index 4748990..09a77e7 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 77a0e51..29f348d 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 */