diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:40 -0400 |
commit | beb3ca82fc0c2ec938b7446b006c8f34abb301b2 (patch) | |
tree | ea89c648dbeae35bdbe9734b2138ecdebdb55fe1 /include/asm-mips/spinlock.h | |
parent | 4ee1303a787434d4994ae68d028ca025e339b434 (diff) |
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 @@ | |||
9 | #ifndef _ASM_SPINLOCK_H | 9 | #ifndef _ASM_SPINLOCK_H |
10 | #define _ASM_SPINLOCK_H | 10 | #define _ASM_SPINLOCK_H |
11 | 11 | ||
12 | #include <linux/config.h> | ||
13 | #include <asm/war.h> | 12 | #include <asm/war.h> |
14 | 13 | ||
15 | /* | 14 | /* |
16 | * Your basic SMP spinlocks, allowing only a single CPU anywhere | 15 | * Your basic SMP spinlocks, allowing only a single CPU anywhere |
17 | */ | 16 | */ |
18 | 17 | ||
19 | #define __raw_spin_is_locked(x) ((x)->lock != 0) | 18 | #define __raw_spin_is_locked(x) ((x)->lock != 0) |
20 | #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) | 19 | #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) |
21 | #define __raw_spin_unlock_wait(x) \ | 20 | #define __raw_spin_unlock_wait(x) \ |
22 | do { cpu_relax(); } while ((x)->lock) | 21 | do { cpu_relax(); } while ((x)->lock) |
23 | 22 | ||
24 | /* | 23 | /* |
25 | * Simple spin lock operations. There are two variants, one clears IRQ's | 24 | * Simple spin lock operations. There are two variants, one clears IRQ's |