diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-14 20:36:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-14 20:36:54 -0400 |
commit | 7dafd239ab522d38979ebe44d79aa68ad7b1a383 (patch) | |
tree | 04754a0c6495e57c1fe5f417fbfc99272d353c0e /include/asm-generic/spinlock.h | |
parent | bc47ab0241c7c86da4f5e5f82fbca7d45387c18d (diff) | |
parent | 45e3e1935e2857c54783291107d33323b3ef33c8 (diff) |
Merge commit 'origin/master' into next
Diffstat (limited to 'include/asm-generic/spinlock.h')
-rw-r--r-- | include/asm-generic/spinlock.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-generic/spinlock.h b/include/asm-generic/spinlock.h new file mode 100644 index 000000000000..1547a03ac50f --- /dev/null +++ b/include/asm-generic/spinlock.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef __ASM_GENERIC_SPINLOCK_H | ||
2 | #define __ASM_GENERIC_SPINLOCK_H | ||
3 | /* | ||
4 | * You need to implement asm/spinlock.h for SMP support. The generic | ||
5 | * version does not handle SMP. | ||
6 | */ | ||
7 | #ifdef CONFIG_SMP | ||
8 | #error need an architecture specific asm/spinlock.h | ||
9 | #endif | ||
10 | |||
11 | #endif /* __ASM_GENERIC_SPINLOCK_H */ | ||