Re: [PATCH v5 03/21] powerpc: remove arguments from fault handler functions

2021-01-14 Thread Christophe Leroy
Le 13/01/2021 à 08:31, Nicholas Piggin a écrit : Make mm fault handlers all just take the pt_regs * argument and load DAR/DSISR from that. Make those that return a value return long. This is done to make the function signatures match other handlers, which will help with a future patch to add

[PATCH v5 03/21] powerpc: remove arguments from fault handler functions

2021-01-12 Thread Nicholas Piggin
Make mm fault handlers all just take the pt_regs * argument and load DAR/DSISR from that. Make those that return a value return long. This is done to make the function signatures match other handlers, which will help with a future patch to add wrappers. Explicit arguments could be added for perfor