summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/atomic.h')
-rw-r--r--include/asm-mips/atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/atomic.h b/include/asm-mips/atomic.h
index a38920e51..fbd2daee7 100644
--- a/include/asm-mips/atomic.h
+++ b/include/asm-mips/atomic.h
@@ -13,12 +13,12 @@
*
* $Id: atomic.h,v 1.6 1999/07/26 19:42:42 harald Exp $
*/
-#ifndef __ASM_MIPS_ATOMIC_H
-#define __ASM_MIPS_ATOMIC_H
+#ifndef __ASM_ATOMIC_H
+#define __ASM_ATOMIC_H
#include <linux/config.h>
-#ifdef __SMP__
+#ifdef CONFIG_SMP
typedef struct { volatile int counter; } atomic_t;
#else
typedef struct { int counter; } atomic_t;