diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:32:40 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:32:40 +0200 |
commit | beb3ca82fc0c2ec938b7446b006c8f34abb301b2 (patch) | |
tree | ea89c648dbeae35bdbe9734b2138ecdebdb55fe1 /include/asm-mips/spinlock.h | |
parent | 2.6.14-rc1 updates for MIPS compat types. (diff) | |
download | linux-beb3ca82fc0c2ec938b7446b006c8f34abb301b2.tar.xz linux-beb3ca82fc0c2ec938b7446b006c8f34abb301b2.zip |
More configcheck fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/spinlock.h')
-rw-r--r-- | include/asm-mips/spinlock.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-mips/spinlock.h b/include/asm-mips/spinlock.h index 7d1cc75a1cbb..669b8e349ff2 100644 --- a/include/asm-mips/spinlock.h +++ b/include/asm-mips/spinlock.h @@ -9,17 +9,16 @@ #ifndef _ASM_SPINLOCK_H #define _ASM_SPINLOCK_H -#include <linux/config.h> #include <asm/war.h> /* * Your basic SMP spinlocks, allowing only a single CPU anywhere */ -#define __raw_spin_is_locked(x) ((x)->lock != 0) +#define __raw_spin_is_locked(x) ((x)->lock != 0) #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) #define __raw_spin_unlock_wait(x) \ - do { cpu_relax(); } while ((x)->lock) + do { cpu_relax(); } while ((x)->lock) /* * Simple spin lock operations. There are two variants, one clears IRQ's |