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

From: Paul Walmsley
Date: Thu Oct 17 2019 - 21:15:37 EST


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