]> git.baikalelectronics.ru Git - kernel.git/commit
locking, x86: mce: Annotate cmci_discover_lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Jul 2010 12:28:02 +0000 (14:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:12:09 +0000 (11:12 +0200)
commit39eb3a390049dc63921150f1b29d14914a7ef8b8
tree420e971a6d67e0f59f71fd3d5e61df5f079bfef6
parentd936d8a326d934fd61e6ea28b8801368d92f8983
locking, x86: mce: Annotate cmci_discover_lock as raw

The cmci_discover_lock can be taken in atomic context (cpu bring
up sequence) and therefore cannot be preempted on -rt.

In mainline this change documents the low level nature of
the lock - otherwise there's no functional difference. Lockdep
and Sparse checking will work as usual.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/mce_intel.c