]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/exception: machine check restructure to reuse common macros
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:36 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:35 +0000 (10:32 +1000)
commit5aa26607be178d589fc3ca992ea20aed0e199825
treeb3531ebf00f9eb21e9bc0a935c9aadd264a6182d
parentb566f9c983a835939425a3592cc4b2ea9a5b0b45
powerpc/64s/exception: machine check restructure to reuse common macros

Follow the pattern of sreset and HMI handlers more closely: use
EXCEPTION_PROLOG_COMMON_1 rather than open-coding it, and run the
handler at the relocated location.

This helps later simplification and code sharing.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802105709.27696-12-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S