]> git.karo-electronics.de Git - karo-tx-linux.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)
commit59d958d2c7de20409a0dc202adc87d3973ada13d
tree420e971a6d67e0f59f71fd3d5e61df5f079bfef6
parente12f65f7a49905c013263ac522af224892aafc00
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