Hi all, After merging the akpm-current tree, today's linux-next build (powerpc allnoconfig) failed like this: mm/memory.c: In function '__apply_to_page_range': mm/memory.c:2358:13: error: 'ARCH_PAGE_TABLE_SYNC_MASK' undeclared (first use in this function) 2358 | if (mask & ARCH_PAGE_TABLE_SYNC_MASK) | ^~~~~~~~~~~~~~~~~~~~~~~~~ mm/memory.c:2358:13: note: each undeclared identifier is reported only once for each function it appears in mm/memory.c:2359:3: error: implicit declaration of function 'arch_sync_kernel_mappings' [-Werror=implicit-function-declaration] 2359 | arch_sync_kernel_mappings(start, start + size); | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors Caused by commit a9354f1a10d5 ("mm: track page table modifications in __apply_to_page_range()") I have added the following fix patch. From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Tue, 25 Aug 2020 17:17:12 +1000 Subject: [PATCH] ARCH_PAGE_TABLE_SYNC_MASK needs vmalloc.h Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- mm/memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/memory.c b/mm/memory.c index 64352f8e3a70..fb5463153351 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -73,6 +73,7 @@ #include <linux/numa.h> #include <linux/perf_event.h> #include <linux/ptrace.h> +#include <linux/vmalloc.h> #include <trace/events/kmem.h> -- 2.28.0 -- Cheers, Stephen Rothwell
Attachment:
pgply1iDTN0TN.pgp
Description: OpenPGP digital signature