x86/mce/AMD: Carve out SMCA get_block_address() code
authorYazen Ghannam <yazen.ghannam@amd.com>
Wed, 21 Feb 2018 10:19:00 +0000 (11:19 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 21 Feb 2018 16:00:55 +0000 (17:00 +0100)
commit8a331f4a0863bea758561c921b94b4d28f7c4029
treec403bbc564e6736554b6a758425f699ab8b7fb33
parent27bd59502702fe51d9eb00450a75b727ec6bfcb4
x86/mce/AMD: Carve out SMCA get_block_address() code

Carve out the SMCA code in get_block_address() into a separate helper
function.

No functional change.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
[ Save an indentation level. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
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: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180215210943.11530-4-Yazen.Ghannam@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce_amd.c