powerpc/64s/exception: Fix DAR load for handle_page_fault error case
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:42 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:36 +0000 (10:32 +1000)
commitc31f7134dc53f7020b3d49e846d1b950a761e324
treeaae8bf3aadca5ceed7ccd373e8ac162ea71870f1
parentb3fe35261e329e15736bc95630fd865df9896c66
powerpc/64s/exception: Fix DAR load for handle_page_fault error case

This buglet goes back to before the 64/32 arch merge, but it does not
seem to have had practical consequences because bad_page_fault does
not use the 2nd argument, but rather regs->dar/nip.

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-18-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S