Re: [PATCH][next] arm64: fix the mm build error in mm/kfence/core.c

2020-12-07 Thread Stephen Rothwell
Hi Marco, On Mon, 7 Dec 2020 15:52:07 +0100 Marco Elver wrote: > > On Sun, 6 Dec 2020 at 23:08, Marco Elver wrote: > > On Sun, 6 Dec 2020 at 22:23, Stephen Rothwell > > wrote: > [...] > > > > ../arch/arm64/include/asm/kfence.h:12:2: error: implicit declaration of > > > > function ‘set_memory

Re: [PATCH][next] arm64: fix the mm build error in mm/kfence/core.c

2020-12-07 Thread Marco Elver
On Sun, 6 Dec 2020 at 23:08, Marco Elver wrote: > On Sun, 6 Dec 2020 at 22:23, Stephen Rothwell wrote: [...] > > > ../arch/arm64/include/asm/kfence.h:12:2: error: implicit declaration of > > > function ‘set_memory_valid’ [-Werror=implicit-function-declaration] > > >12 | set_memory_valid(addr

Re: [PATCH][next] arm64: fix the mm build error in mm/kfence/core.c

2020-12-06 Thread Marco Elver
On Sun, 6 Dec 2020 at 22:23, Stephen Rothwell wrote: > > Hi all, > > [Cc'd Andrew Morton] > > On Sun, 6 Dec 2020 01:22:07 +0800 Hui Su wrote: > > > > When I build kernel with ARCH=arm64, the building errors came out like > > this: > > CC mm/kfence/core.o > > In file included from ../mm/kfe

Re: [PATCH][next] arm64: fix the mm build error in mm/kfence/core.c

2020-12-06 Thread Stephen Rothwell
Hi all, [Cc'd Andrew Morton] On Sun, 6 Dec 2020 01:22:07 +0800 Hui Su wrote: > > When I build kernel with ARCH=arm64, the building errors came out like > this: > CC mm/kfence/core.o > In file included from ../mm/kfence/core.c:21: > ../arch/arm64/include/asm/kfence.h: In function ‘kfence_p

[PATCH][next] arm64: fix the mm build error in mm/kfence/core.c

2020-12-05 Thread Hui Su
When I build kernel with ARCH=arm64, the building errors came out like this: CC mm/kfence/core.o In file included from ../mm/kfence/core.c:21: ../arch/arm64/include/asm/kfence.h: In function ‘kfence_protect_page’: ../arch/arm64/include/asm/kfence.h:12:2: error: implicit declaration of functi