From b9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 28 Apr 2000 01:09:25 +0000 Subject: Merge with 2.3.99-pre6. --- include/asm-sh/atomic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/asm-sh/atomic.h') 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 + +#ifdef CONFIG_SMP typedef struct { volatile int counter; } atomic_t; #else typedef struct { int counter; } atomic_t; -- cgit v1.2.3