diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 18:32:40 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 18:32:40 (GMT) |
commit | beb3ca82fc0c2ec938b7446b006c8f34abb301b2 (patch) | |
tree | ea89c648dbeae35bdbe9734b2138ecdebdb55fe1 /include/asm-mips/spinlock.h | |
parent | 4ee1303a787434d4994ae68d028ca025e339b434 (diff) | |
download | linux-fsl-qoriq-beb3ca82fc0c2ec938b7446b006c8f34abb301b2.tar.xz |
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 7d1cc75..669b8e3 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 |