x86: fix SMP alternatives: use mutex instead of spinlock, text_poke is sleepable
commitfe1c832405d5450bcde9a2e60b3ac008c406c8e6
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:21:01 +0000 (12 21:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Oct 2008 03:23:01 +0000 (8 20:23 -0700)
tree3cc2aa0a59558fa1769fb031bd349dd323768f32
parent459872ffa5ac2357472118b6a875758a2b11139e
x86: fix SMP alternatives: use mutex instead of spinlock, text_poke is sleepable

commit 2f1dafe50cc4e58a239fd81bd47f87f32042a1ee upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/alternative.c