Re: [PATCH 2/8] riscv: add prototypes for assembly language functions from head.S

2019-10-17 Thread Paul Walmsley
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 10

[PATCH 2/8] riscv: add prototypes for assembly language functions from head.S

2019-10-17 Thread Paul Walmsley
Add prototypes for assembly language functions defined in head.S, and include these prototypes into C source files that call those functions. This patch resolves the following warnings from sparse: arch/riscv/kernel/setup.c:39:10: warning: symbol 'hart_lottery' was not declared. Should it be sta