On Thu, 17 Oct 2019, Paul Walmsley wrote: > Add prototypes for assembly language functions defined in head.S, > and include these prototypes into C source files that call those > functions.
[ ... ] > diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c > index 96add1427a75..ec15a9b15448 100644 > --- a/arch/riscv/mm/fault.c > +++ b/arch/riscv/mm/fault.c > @@ -18,6 +18,8 @@ > #include <asm/ptrace.h> > #include <asm/tlbflush.h> > > +#include "../head.h" > + "../kernel/head.h", rather. - Paul