]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: move bad_page_fault handling to C
authorNicholas Piggin <npiggin@gmail.com>
Sat, 30 Jan 2021 13:08:24 +0000 (23:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Feb 2021 13:02:10 +0000 (00:02 +1100)
commit2b7854b95d90e56b157a001255d14e1b5fb99f7e
tree36bfa25dfd766e2c6b8f0555d2453ffef8b85ded
parent3cbfac068fa92d7f4de5cf67aab1fbbd2524e7ab
powerpc/64s: move bad_page_fault handling to C

This simplifies code, and it is also useful when introducing
interrupt handler wrappers when introducing wrapper functionality
that doesn't cope with asm entry code calling into more than one
handler function.

32-bit and 64e still have some such cases, which limits some ways
they can use interrupt wrappers.

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