diff options
Diffstat (limited to 'include/asm-sh/atomic.h')
-rw-r--r-- | include/asm-sh/atomic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sh/atomic.h b/include/asm-sh/atomic.h index 7f580a9aa..e46fdc7bc 100644 --- a/include/asm-sh/atomic.h +++ b/include/asm-sh/atomic.h @@ -7,7 +7,9 @@ * */ -#ifdef __SMP__ +#include <linux/config.h> + +#ifdef CONFIG_SMP typedef struct { volatile int counter; } atomic_t; #else typedef struct { int counter; } atomic_t; |