projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/64s: Implement queued spinlocks and rwlocks
[linux-2.6-microblaze.git]
/
arch
/
powerpc
/
include
/
asm
/
spinlock.h
diff --git
a/arch/powerpc/include/asm/spinlock.h
b/arch/powerpc/include/asm/spinlock.h
index
21357fe
..
434615f
100644
(file)
--- a/
arch/powerpc/include/asm/spinlock.h
+++ b/
arch/powerpc/include/asm/spinlock.h
@@
-3,7
+3,12
@@
#define __ASM_SPINLOCK_H
#ifdef __KERNEL__
+#ifdef CONFIG_PPC_QUEUED_SPINLOCKS
+#include <asm/qspinlock.h>
+#include <asm/qrwlock.h>
+#else
#include <asm/simple_spinlock.h>
+#endif
#endif /* __KERNEL__ */
#endif /* __ASM_SPINLOCK_H */