powernv/pseries: consolidate code for mce early handling.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tue, 11 Sep 2018 14:27:23 +0000 (19:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Sep 2018 11:59:41 +0000 (21:59 +1000)
commitdb7d31ac04133fc18893725d348fabf91d6e808e
tree22d9ba7a9c8d55052a98d3b5f0fba4fd606fb84e
parentc6d15258cdf1c197cad7b11b9848e79068dd21e0
powernv/pseries: consolidate code for mce early handling.

Now that other platforms also implements real mode mce handler,
lets consolidate the code by sharing existing powernv machine check
early code. Rename machine_check_powernv_early to
machine_check_common_early and reuse the code.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/exceptions-64s.S