diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-14 11:15:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-14 11:15:45 -0700 |
commit | bca14dd14f3b0c5e3e2d1d314679f85b67871365 (patch) | |
tree | e2da281ecf99e9ea009c71cea947440d2b06afed | |
parent | 02ca6c407e0d43e6de5d646d26d87fc2eaa7a98b (diff) | |
parent | 2aa2b50dd62b5d0675bd7453fbeb5732dc2d7866 (diff) | |
download | kernel_samsung_crespo-bca14dd14f3b0c5e3e2d1d314679f85b67871365.zip kernel_samsung_crespo-bca14dd14f3b0c5e3e2d1d314679f85b67871365.tar.gz kernel_samsung_crespo-bca14dd14f3b0c5e3e2d1d314679f85b67871365.tar.bz2 |
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86/mce: Fix build bug with CONFIG_PROVE_LOCKING=y && CONFIG_X86_MCE_INTEL=y
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index bd58de4..3ab9c88 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c @@ -46,6 +46,8 @@ #include "mce-internal.h" +static DEFINE_MUTEX(mce_read_mutex); + #define rcu_dereference_check_mce(p) \ rcu_dereference_check((p), \ rcu_read_lock_sched_held() || \ @@ -1490,8 +1492,6 @@ static void collect_tscs(void *data) rdtscll(cpu_tsc[smp_processor_id()]); } -static DEFINE_MUTEX(mce_read_mutex); - static ssize_t mce_read(struct file *filp, char __user *ubuf, size_t usize, loff_t *off) { |