Commit 31d6490c authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman

powerpc/mm: Remove stale do_page_fault comment referring to SLB faults

SLB faults no longer call do_page_fault, this was removed somewhere
between 2.6.0 and 2.6.12.
Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210130130852.2952424-17-npiggin@gmail.com
parent bf0e2374
...@@ -377,13 +377,11 @@ static void sanity_check_fault(bool is_write, bool is_user, ...@@ -377,13 +377,11 @@ static void sanity_check_fault(bool is_write, bool is_user,
/* /*
* For 600- and 800-family processors, the error_code parameter is DSISR * For 600- and 800-family processors, the error_code parameter is DSISR
* for a data fault, SRR1 for an instruction fault. For 400-family processors * for a data fault, SRR1 for an instruction fault.
* the error_code parameter is ESR for a data fault, 0 for an instruction * For 400-family processors the error_code parameter is ESR for a data fault,
* fault. * 0 for an instruction fault.
* For 64-bit processors, the error_code parameter is * For 64-bit processors, the error_code parameter is DSISR for a data access
* - DSISR for a non-SLB data access fault, * fault, SRR1 & 0x08000000 for an instruction access fault.
* - SRR1 & 0x08000000 for a non-SLB instruction access fault
* - 0 any SLB fault.
* *
* The return value is 0 if the fault was handled, or the signal * The return value is 0 if the fault was handled, or the signal
* number if this is a kernel fault that can't be handled here. * number if this is a kernel fault that can't be handled here.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment