diff options
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 */ |