]> 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)
commitf8128719099c128dd5fb0ffb318fe1a39b9566d9
tree420e971a6d67e0f59f71fd3d5e61df5f079bfef6
parentfc086a981d9218f561258e0b8d06d1d3ce28cfed
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