x86: fix SMP alternatives: use mutex instead of spinlock, text_poke is sleepable
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:21:01 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:56:52 +0000 (21:56 +0200)
commit2f1dafe50cc4e58a239fd81bd47f87f32042a1ee
tree2a5a5653c37ac4846889404bad4142a1a1edbeaa
parent107bad8bef5ab2c3a3bff7648c18c9dc3abdc13b
x86: fix SMP alternatives: use mutex instead of spinlock, text_poke is sleepable

text_poke is sleepable.
The original fix by Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/alternative.c