aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mcheck/mce.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce.c')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
index 3be9fa69f875..3c036cb4a370 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -152,14 +152,11 @@ static struct mce_log mcelog = {
152void mce_log(struct mce *mce) 152void mce_log(struct mce *mce)
153{ 153{
154 unsigned next, entry; 154 unsigned next, entry;
155 int ret = 0;
156 155
157 /* Emit the trace record: */ 156 /* Emit the trace record: */
158 trace_mce_record(mce); 157 trace_mce_record(mce);
159 158
160 ret = atomic_notifier_call_chain(&x86_mce_decoder_chain, 0, mce); 159 atomic_notifier_call_chain(&x86_mce_decoder_chain, 0, mce);
161 if (ret == NOTIFY_STOP)
162 return;
163 160
164 mce->finished = 0; 161 mce->finished = 0;
165 wmb(); 162 wmb();