x86/mce/AMD: Save an indentation level in prepare_threshold_block()
authorBorislav Petkov <bp@suse.de>
Wed, 11 May 2016 12:58:25 +0000 (14:58 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 12 May 2016 07:08:21 +0000 (09:08 +0200)
commite128b4f4833cc1e0ce46dfb978763b260f166188
treef46a7b279da18be1e89fa554702b2fe3056ce2ee
parent32544f060326bffa60dade49ce4595652df4d3ab
x86/mce/AMD: Save an indentation level in prepare_threshold_block()

Do the !SMCA work first and then save us an indentation level for the
SMCA code.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1462971509-3856-4-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce_amd.c