tracing, Text Edit Lock - SMP alternatives support
commit3945dab45aa8c89014893bfa8eb1e1661a409cef
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 6 Mar 2009 15:37:22 +0000 (6 10:37 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Mar 2009 15:49:00 +0000 (6 16:49 +0100)
treedff11f176f0027d8958c7176524e7a64e8711f30
parent4460fdad85becd569f11501ad5b91814814335ff
tracing, Text Edit Lock - SMP alternatives support

Use the mutual exclusion provided by the text edit lock in alternatives code.
Since alternative_smp_* will be called from module init code, etc,
we'd better protect it from other subsystems.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
LKML-Reference: <49B14332.9030109@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/alternative.c