diff options
31 files changed, 44 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/Kbuild b/arch/alpha/include/asm/Kbuild index 55a2b0395d48..7736f426ff3b 100644 --- a/arch/alpha/include/asm/Kbuild +++ b/arch/alpha/include/asm/Kbuild | |||
@@ -3,5 +3,6 @@ | |||
3 | generic-y += clkdev.h | 3 | generic-y += clkdev.h |
4 | generic-y += exec.h | 4 | generic-y += exec.h |
5 | generic-y += hash.h | 5 | generic-y += hash.h |
6 | generic-y += mcs_spinlock.h | ||
6 | generic-y += preempt.h | 7 | generic-y += preempt.h |
7 | generic-y += trace_clock.h | 8 | generic-y += trace_clock.h |
diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index 54ceb91c7ce0..e76fd79f32b0 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild | |||
@@ -22,6 +22,7 @@ generic-y += kmap_types.h | |||
22 | generic-y += kvm_para.h | 22 | generic-y += kvm_para.h |
23 | generic-y += local.h | 23 | generic-y += local.h |
24 | generic-y += local64.h | 24 | generic-y += local64.h |
25 | generic-y += mcs_spinlock.h | ||
25 | generic-y += mman.h | 26 | generic-y += mman.h |
26 | generic-y += msgbuf.h | 27 | generic-y += msgbuf.h |
27 | generic-y += param.h | 28 | generic-y += param.h |
diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index 3b2092049b51..23e728ecf8ab 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild | |||
@@ -14,6 +14,7 @@ generic-y += irq_regs.h | |||
14 | generic-y += kdebug.h | 14 | generic-y += kdebug.h |
15 | generic-y += local.h | 15 | generic-y += local.h |
16 | generic-y += local64.h | 16 | generic-y += local64.h |
17 | generic-y += mcs_spinlock.h | ||
17 | generic-y += msgbuf.h | 18 | generic-y += msgbuf.h |
18 | generic-y += param.h | 19 | generic-y += param.h |
19 | generic-y += parport.h | 20 | generic-y += parport.h |
diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild index 54038befa0a4..3bdfdda70567 100644 --- a/arch/arm64/include/asm/Kbuild +++ b/arch/arm64/include/asm/Kbuild | |||
@@ -23,6 +23,7 @@ generic-y += kmap_types.h | |||
23 | generic-y += kvm_para.h | 23 | generic-y += kvm_para.h |
24 | generic-y += local.h | 24 | generic-y += local.h |
25 | generic-y += local64.h | 25 | generic-y += local64.h |
26 | generic-y += mcs_spinlock.h | ||
26 | generic-y += mman.h | 27 | generic-y += mman.h |
27 | generic-y += msgbuf.h | 28 | generic-y += msgbuf.h |
28 | generic-y += mutex.h | 29 | generic-y += mutex.h |
diff --git a/arch/avr32/include/asm/Kbuild b/arch/avr32/include/asm/Kbuild index 064ca3c058ff..8b398ff96974 100644 --- a/arch/avr32/include/asm/Kbuild +++ b/arch/avr32/include/asm/Kbuild | |||
@@ -11,6 +11,7 @@ generic-y += hash.h | |||
11 | generic-y += irq_regs.h | 11 | generic-y += irq_regs.h |
12 | generic-y += local.h | 12 | generic-y += local.h |
13 | generic-y += local64.h | 13 | generic-y += local64.h |
14 | generic-y += mcs_spinlock.h | ||
14 | generic-y += param.h | 15 | generic-y += param.h |
15 | generic-y += percpu.h | 16 | generic-y += percpu.h |
16 | generic-y += preempt.h | 17 | generic-y += preempt.h |
diff --git a/arch/blackfin/include/asm/Kbuild b/arch/blackfin/include/asm/Kbuild index ca30a3dc47e7..0d93b9a79ca9 100644 --- a/arch/blackfin/include/asm/Kbuild +++ b/arch/blackfin/include/asm/Kbuild | |||
@@ -20,6 +20,7 @@ generic-y += kmap_types.h | |||
20 | generic-y += kvm_para.h | 20 | generic-y += kvm_para.h |
21 | generic-y += local.h | 21 | generic-y += local.h |
22 | generic-y += local64.h | 22 | generic-y += local64.h |
23 | generic-y += mcs_spinlock.h | ||
23 | generic-y += mman.h | 24 | generic-y += mman.h |
24 | generic-y += msgbuf.h | 25 | generic-y += msgbuf.h |
25 | generic-y += mutex.h | 26 | generic-y += mutex.h |
diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild index dea0671524a1..8dbdce8421b0 100644 --- a/arch/c6x/include/asm/Kbuild +++ b/arch/c6x/include/asm/Kbuild | |||
@@ -25,6 +25,7 @@ generic-y += irq_regs.h | |||
25 | generic-y += kdebug.h | 25 | generic-y += kdebug.h |
26 | generic-y += kmap_types.h | 26 | generic-y += kmap_types.h |
27 | generic-y += local.h | 27 | generic-y += local.h |
28 | generic-y += mcs_spinlock.h | ||
28 | generic-y += mman.h | 29 | generic-y += mman.h |
29 | generic-y += mmu.h | 30 | generic-y += mmu.h |
30 | generic-y += mmu_context.h | 31 | generic-y += mmu_context.h |
diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild index 7f8d1b174a34..056027f38351 100644 --- a/arch/cris/include/asm/Kbuild +++ b/arch/cris/include/asm/Kbuild | |||
@@ -9,6 +9,7 @@ generic-y += exec.h | |||
9 | generic-y += hash.h | 9 | generic-y += hash.h |
10 | generic-y += kvm_para.h | 10 | generic-y += kvm_para.h |
11 | generic-y += linkage.h | 11 | generic-y += linkage.h |
12 | generic-y += mcs_spinlock.h | ||
12 | generic-y += module.h | 13 | generic-y += module.h |
13 | generic-y += preempt.h | 14 | generic-y += preempt.h |
14 | generic-y += trace_clock.h | 15 | generic-y += trace_clock.h |
diff --git a/arch/frv/include/asm/Kbuild b/arch/frv/include/asm/Kbuild index 93428d035cfb..babb9338ebf8 100644 --- a/arch/frv/include/asm/Kbuild +++ b/arch/frv/include/asm/Kbuild | |||
@@ -2,5 +2,6 @@ | |||
2 | generic-y += clkdev.h | 2 | generic-y += clkdev.h |
3 | generic-y += exec.h | 3 | generic-y += exec.h |
4 | generic-y += hash.h | 4 | generic-y += hash.h |
5 | generic-y += mcs_spinlock.h | ||
5 | generic-y += preempt.h | 6 | generic-y += preempt.h |
6 | generic-y += trace_clock.h | 7 | generic-y += trace_clock.h |
diff --git a/arch/hexagon/include/asm/Kbuild b/arch/hexagon/include/asm/Kbuild index 9f0eda48643a..eadcc118f950 100644 --- a/arch/hexagon/include/asm/Kbuild +++ b/arch/hexagon/include/asm/Kbuild | |||
@@ -27,6 +27,7 @@ generic-y += kdebug.h | |||
27 | generic-y += kmap_types.h | 27 | generic-y += kmap_types.h |
28 | generic-y += local.h | 28 | generic-y += local.h |
29 | generic-y += local64.h | 29 | generic-y += local64.h |
30 | generic-y += mcs_spinlock.h | ||
30 | generic-y += mman.h | 31 | generic-y += mman.h |
31 | generic-y += msgbuf.h | 32 | generic-y += msgbuf.h |
32 | generic-y += pci.h | 33 | generic-y += pci.h |
diff --git a/arch/ia64/include/asm/Kbuild b/arch/ia64/include/asm/Kbuild index 81ebef7f1a87..0da4aa2602ae 100644 --- a/arch/ia64/include/asm/Kbuild +++ b/arch/ia64/include/asm/Kbuild | |||
@@ -3,6 +3,7 @@ generic-y += clkdev.h | |||
3 | generic-y += exec.h | 3 | generic-y += exec.h |
4 | generic-y += hash.h | 4 | generic-y += hash.h |
5 | generic-y += kvm_para.h | 5 | generic-y += kvm_para.h |
6 | generic-y += mcs_spinlock.h | ||
6 | generic-y += preempt.h | 7 | generic-y += preempt.h |
7 | generic-y += trace_clock.h | 8 | generic-y += trace_clock.h |
8 | generic-y += vtime.h | 9 | generic-y += vtime.h |
diff --git a/arch/m32r/include/asm/Kbuild b/arch/m32r/include/asm/Kbuild index 87042215b543..5825a35b2c56 100644 --- a/arch/m32r/include/asm/Kbuild +++ b/arch/m32r/include/asm/Kbuild | |||
@@ -2,6 +2,7 @@ | |||
2 | generic-y += clkdev.h | 2 | generic-y += clkdev.h |
3 | generic-y += exec.h | 3 | generic-y += exec.h |
4 | generic-y += hash.h | 4 | generic-y += hash.h |
5 | generic-y += mcs_spinlock.h | ||
5 | generic-y += module.h | 6 | generic-y += module.h |
6 | generic-y += preempt.h | 7 | generic-y += preempt.h |
7 | generic-y += trace_clock.h | 8 | generic-y += trace_clock.h |
diff --git a/arch/m68k/include/asm/Kbuild b/arch/m68k/include/asm/Kbuild index f44ac8f9536a..86b4c178cc75 100644 --- a/arch/m68k/include/asm/Kbuild +++ b/arch/m68k/include/asm/Kbuild | |||
@@ -16,6 +16,7 @@ generic-y += kmap_types.h | |||
16 | generic-y += kvm_para.h | 16 | generic-y += kvm_para.h |
17 | generic-y += local.h | 17 | generic-y += local.h |
18 | generic-y += local64.h | 18 | generic-y += local64.h |
19 | generic-y += mcs_spinlock.h | ||
19 | generic-y += mman.h | 20 | generic-y += mman.h |
20 | generic-y += mutex.h | 21 | generic-y += mutex.h |
21 | generic-y += percpu.h | 22 | generic-y += percpu.h |
diff --git a/arch/metag/include/asm/Kbuild b/arch/metag/include/asm/Kbuild index ac22144e92a3..c29ead89a317 100644 --- a/arch/metag/include/asm/Kbuild +++ b/arch/metag/include/asm/Kbuild | |||
@@ -24,6 +24,7 @@ generic-y += kmap_types.h | |||
24 | generic-y += kvm_para.h | 24 | generic-y += kvm_para.h |
25 | generic-y += local.h | 25 | generic-y += local.h |
26 | generic-y += local64.h | 26 | generic-y += local64.h |
27 | generic-y += mcs_spinlock.h | ||
27 | generic-y += msgbuf.h | 28 | generic-y += msgbuf.h |
28 | generic-y += mutex.h | 29 | generic-y += mutex.h |
29 | generic-y += param.h | 30 | generic-y += param.h |
diff --git a/arch/microblaze/include/asm/Kbuild b/arch/microblaze/include/asm/Kbuild index 4b5f12259d81..1f590ab8f323 100644 --- a/arch/microblaze/include/asm/Kbuild +++ b/arch/microblaze/include/asm/Kbuild | |||
@@ -3,6 +3,7 @@ generic-y += barrier.h | |||
3 | generic-y += clkdev.h | 3 | generic-y += clkdev.h |
4 | generic-y += exec.h | 4 | generic-y += exec.h |
5 | generic-y += hash.h | 5 | generic-y += hash.h |
6 | generic-y += mcs_spinlock.h | ||
6 | generic-y += preempt.h | 7 | generic-y += preempt.h |
7 | generic-y += syscalls.h | 8 | generic-y += syscalls.h |
8 | generic-y += trace_clock.h | 9 | generic-y += trace_clock.h |
diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index 82ee17a68ae0..05439187891d 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild | |||
@@ -4,6 +4,7 @@ generic-y += current.h | |||
4 | generic-y += emergency-restart.h | 4 | generic-y += emergency-restart.h |
5 | generic-y += hash.h | 5 | generic-y += hash.h |
6 | generic-y += local64.h | 6 | generic-y += local64.h |
7 | generic-y += mcs_spinlock.h | ||
7 | generic-y += mutex.h | 8 | generic-y += mutex.h |
8 | generic-y += parport.h | 9 | generic-y += parport.h |
9 | generic-y += percpu.h | 10 | generic-y += percpu.h |
diff --git a/arch/mn10300/include/asm/Kbuild b/arch/mn10300/include/asm/Kbuild index da3b2f50c07e..cbc6b9bf45da 100644 --- a/arch/mn10300/include/asm/Kbuild +++ b/arch/mn10300/include/asm/Kbuild | |||
@@ -3,5 +3,6 @@ generic-y += barrier.h | |||
3 | generic-y += clkdev.h | 3 | generic-y += clkdev.h |
4 | generic-y += exec.h | 4 | generic-y += exec.h |
5 | generic-y += hash.h | 5 | generic-y += hash.h |
6 | generic-y += mcs_spinlock.h | ||
6 | generic-y += preempt.h | 7 | generic-y += preempt.h |
7 | generic-y += trace_clock.h | 8 | generic-y += trace_clock.h |
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index f62a67a15055..480af0d9c2f5 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/openrisc/include/asm/Kbuild | |||
@@ -35,6 +35,7 @@ generic-y += kdebug.h | |||
35 | generic-y += kmap_types.h | 35 | generic-y += kmap_types.h |
36 | generic-y += kvm_para.h | 36 | generic-y += kvm_para.h |
37 | generic-y += local.h | 37 | generic-y += local.h |
38 | generic-y += mcs_spinlock.h | ||
38 | generic-y += mman.h | 39 | generic-y += mman.h |
39 | generic-y += module.h | 40 | generic-y += module.h |
40 | generic-y += msgbuf.h | 41 | generic-y += msgbuf.h |
diff --git a/arch/parisc/include/asm/Kbuild b/arch/parisc/include/asm/Kbuild index 958b79aac24f..ecf25e6678ad 100644 --- a/arch/parisc/include/asm/Kbuild +++ b/arch/parisc/include/asm/Kbuild | |||
@@ -14,6 +14,7 @@ generic-y += kdebug.h | |||
14 | generic-y += kvm_para.h | 14 | generic-y += kvm_para.h |
15 | generic-y += local.h | 15 | generic-y += local.h |
16 | generic-y += local64.h | 16 | generic-y += local64.h |
17 | generic-y += mcs_spinlock.h | ||
17 | generic-y += mutex.h | 18 | generic-y += mutex.h |
18 | generic-y += param.h | 19 | generic-y += param.h |
19 | generic-y += percpu.h | 20 | generic-y += percpu.h |
diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild index b618c416d3d9..3fb1bc432f4f 100644 --- a/arch/powerpc/include/asm/Kbuild +++ b/arch/powerpc/include/asm/Kbuild | |||
@@ -1,6 +1,7 @@ | |||
1 | 1 | ||
2 | generic-y += clkdev.h | 2 | generic-y += clkdev.h |
3 | generic-y += hash.h | 3 | generic-y += hash.h |
4 | generic-y += mcs_spinlock.h | ||
4 | generic-y += preempt.h | 5 | generic-y += preempt.h |
5 | generic-y += rwsem.h | 6 | generic-y += rwsem.h |
6 | generic-y += trace_clock.h | 7 | generic-y += trace_clock.h |
diff --git a/arch/s390/include/asm/Kbuild b/arch/s390/include/asm/Kbuild index 482f492f0834..57892a8a9055 100644 --- a/arch/s390/include/asm/Kbuild +++ b/arch/s390/include/asm/Kbuild | |||
@@ -2,5 +2,6 @@ | |||
2 | 2 | ||
3 | generic-y += clkdev.h | 3 | generic-y += clkdev.h |
4 | generic-y += hash.h | 4 | generic-y += hash.h |
5 | generic-y += mcs_spinlock.h | ||
5 | generic-y += preempt.h | 6 | generic-y += preempt.h |
6 | generic-y += trace_clock.h | 7 | generic-y += trace_clock.h |
diff --git a/arch/score/include/asm/Kbuild b/arch/score/include/asm/Kbuild index e92319fb146d..4630cf217b5b 100644 --- a/arch/score/include/asm/Kbuild +++ b/arch/score/include/asm/Kbuild | |||
@@ -5,6 +5,7 @@ header-y += | |||
5 | generic-y += barrier.h | 5 | generic-y += barrier.h |
6 | generic-y += clkdev.h | 6 | generic-y += clkdev.h |
7 | generic-y += hash.h | 7 | generic-y += hash.h |
8 | generic-y += mcs_spinlock.h | ||
8 | generic-y += preempt.h | 9 | generic-y += preempt.h |
9 | generic-y += trace_clock.h | 10 | generic-y += trace_clock.h |
10 | generic-y += xor.h | 11 | generic-y += xor.h |
diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild index 85c214e456f9..c19e47dacb31 100644 --- a/arch/sh/include/asm/Kbuild +++ b/arch/sh/include/asm/Kbuild | |||
@@ -15,6 +15,7 @@ generic-y += irq_regs.h | |||
15 | generic-y += kvm_para.h | 15 | generic-y += kvm_para.h |
16 | generic-y += local.h | 16 | generic-y += local.h |
17 | generic-y += local64.h | 17 | generic-y += local64.h |
18 | generic-y += mcs_spinlock.h | ||
18 | generic-y += mman.h | 19 | generic-y += mman.h |
19 | generic-y += msgbuf.h | 20 | generic-y += msgbuf.h |
20 | generic-y += param.h | 21 | generic-y += param.h |
diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild index 82150287bfa4..a45821818003 100644 --- a/arch/sparc/include/asm/Kbuild +++ b/arch/sparc/include/asm/Kbuild | |||
@@ -11,6 +11,7 @@ generic-y += irq_regs.h | |||
11 | generic-y += linkage.h | 11 | generic-y += linkage.h |
12 | generic-y += local.h | 12 | generic-y += local.h |
13 | generic-y += local64.h | 13 | generic-y += local64.h |
14 | generic-y += mcs_spinlock.h | ||
14 | generic-y += module.h | 15 | generic-y += module.h |
15 | generic-y += mutex.h | 16 | generic-y += mutex.h |
16 | generic-y += preempt.h | 17 | generic-y += preempt.h |
diff --git a/arch/tile/include/asm/Kbuild b/arch/tile/include/asm/Kbuild index e0b1ed967737..0aa5675e7025 100644 --- a/arch/tile/include/asm/Kbuild +++ b/arch/tile/include/asm/Kbuild | |||
@@ -19,6 +19,7 @@ generic-y += ipcbuf.h | |||
19 | generic-y += irq_regs.h | 19 | generic-y += irq_regs.h |
20 | generic-y += local.h | 20 | generic-y += local.h |
21 | generic-y += local64.h | 21 | generic-y += local64.h |
22 | generic-y += mcs_spinlock.h | ||
22 | generic-y += msgbuf.h | 23 | generic-y += msgbuf.h |
23 | generic-y += mutex.h | 24 | generic-y += mutex.h |
24 | generic-y += param.h | 25 | generic-y += param.h |
diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild index 215e05d8d4b8..a5e4b6068213 100644 --- a/arch/um/include/asm/Kbuild +++ b/arch/um/include/asm/Kbuild | |||
@@ -15,6 +15,7 @@ generic-y += hw_irq.h | |||
15 | generic-y += io.h | 15 | generic-y += io.h |
16 | generic-y += irq_regs.h | 16 | generic-y += irq_regs.h |
17 | generic-y += kdebug.h | 17 | generic-y += kdebug.h |
18 | generic-y += mcs_spinlock.h | ||
18 | generic-y += mutex.h | 19 | generic-y += mutex.h |
19 | generic-y += param.h | 20 | generic-y += param.h |
20 | generic-y += pci.h | 21 | generic-y += pci.h |
diff --git a/arch/unicore32/include/asm/Kbuild b/arch/unicore32/include/asm/Kbuild index ad2c737a9cab..1e5fb872a4aa 100644 --- a/arch/unicore32/include/asm/Kbuild +++ b/arch/unicore32/include/asm/Kbuild | |||
@@ -25,6 +25,7 @@ generic-y += irq_regs.h | |||
25 | generic-y += kdebug.h | 25 | generic-y += kdebug.h |
26 | generic-y += kmap_types.h | 26 | generic-y += kmap_types.h |
27 | generic-y += local.h | 27 | generic-y += local.h |
28 | generic-y += mcs_spinlock.h | ||
28 | generic-y += mman.h | 29 | generic-y += mman.h |
29 | generic-y += module.h | 30 | generic-y += module.h |
30 | generic-y += msgbuf.h | 31 | generic-y += msgbuf.h |
diff --git a/arch/x86/include/asm/Kbuild b/arch/x86/include/asm/Kbuild index 7f669853317a..a8fee078b92f 100644 --- a/arch/x86/include/asm/Kbuild +++ b/arch/x86/include/asm/Kbuild | |||
@@ -5,3 +5,4 @@ genhdr-y += unistd_64.h | |||
5 | genhdr-y += unistd_x32.h | 5 | genhdr-y += unistd_x32.h |
6 | 6 | ||
7 | generic-y += clkdev.h | 7 | generic-y += clkdev.h |
8 | generic-y += mcs_spinlock.h | ||
diff --git a/arch/xtensa/include/asm/Kbuild b/arch/xtensa/include/asm/Kbuild index 223280d8e611..c3d20ba6eb86 100644 --- a/arch/xtensa/include/asm/Kbuild +++ b/arch/xtensa/include/asm/Kbuild | |||
@@ -18,6 +18,7 @@ generic-y += kvm_para.h | |||
18 | generic-y += linkage.h | 18 | generic-y += linkage.h |
19 | generic-y += local.h | 19 | generic-y += local.h |
20 | generic-y += local64.h | 20 | generic-y += local64.h |
21 | generic-y += mcs_spinlock.h | ||
21 | generic-y += percpu.h | 22 | generic-y += percpu.h |
22 | generic-y += preempt.h | 23 | generic-y += preempt.h |
23 | generic-y += resource.h | 24 | generic-y += resource.h |
diff --git a/include/asm-generic/mcs_spinlock.h b/include/asm-generic/mcs_spinlock.h new file mode 100644 index 000000000000..10cd4ffc6ba2 --- /dev/null +++ b/include/asm-generic/mcs_spinlock.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef __ASM_MCS_SPINLOCK_H | ||
2 | #define __ASM_MCS_SPINLOCK_H | ||
3 | |||
4 | /* | ||
5 | * Architectures can define their own: | ||
6 | * | ||
7 | * arch_mcs_spin_lock_contended(l) | ||
8 | * arch_mcs_spin_unlock_contended(l) | ||
9 | * | ||
10 | * See kernel/locking/mcs_spinlock.c. | ||
11 | */ | ||
12 | |||
13 | #endif /* __ASM_MCS_SPINLOCK_H */ | ||
diff --git a/include/linux/mcs_spinlock.h b/include/linux/mcs_spinlock.h index e9a4d74c63dc..f2a5c6360083 100644 --- a/include/linux/mcs_spinlock.h +++ b/include/linux/mcs_spinlock.h | |||
@@ -12,6 +12,8 @@ | |||
12 | #ifndef __LINUX_MCS_SPINLOCK_H | 12 | #ifndef __LINUX_MCS_SPINLOCK_H |
13 | #define __LINUX_MCS_SPINLOCK_H | 13 | #define __LINUX_MCS_SPINLOCK_H |
14 | 14 | ||
15 | #include <asm/mcs_spinlock.h> | ||
16 | |||
15 | struct mcs_spinlock { | 17 | struct mcs_spinlock { |
16 | struct mcs_spinlock *next; | 18 | struct mcs_spinlock *next; |
17 | int locked; /* 1 if lock acquired */ | 19 | int locked; /* 1 if lock acquired */ |