* linux-next: build failure after merge of the akpm-current tree
@ 2021-03-10 3:55 Stephen Rothwell
2021-03-10 5:53 ` [External] " Muchun Song
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2021-03-10 3:55 UTC (permalink / raw)
To: Andrew Morton
Cc: Muchun Song, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]
Hi all,
After merging the akpm-current tree, today's linux-next build (sparc64
defconfig) failed like this:
arch/sparc/mm/init_64.c:2495:4: error: implicit declaration of function 'register_page_bootmem_info_node'; did you mean 'register_page_bootmem_info'? [-Werror=implicit-function-declaration]
register_page_bootmem_info_node(NODE_DATA(i));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
register_page_bootmem_info
Caused by commit
cd28b1a6791d ("mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c")
grep is your friend ...
I have applied the following patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 10 Mar 2021 14:46:27 +1100
Subject: [PATCH] fix for "mm: memory_hotplug: factor out bootmem core
functions to bootmem_info.c"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
arch/sparc/mm/init_64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index 182bb7bdaa0a..c709b72e81bf 100644
--- a/arch/sparc/mm/init_64.c
+++ b/arch/sparc/mm/init_64.c
@@ -27,6 +27,7 @@
#include <linux/percpu.h>
#include <linux/mmzone.h>
#include <linux/gfp.h>
+#include <linux/bootmem_info.h>
#include <asm/head.h>
#include <asm/page.h>
--
2.30.0
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [External] linux-next: build failure after merge of the akpm-current tree
2021-03-10 3:55 linux-next: build failure after merge of the akpm-current tree Stephen Rothwell
@ 2021-03-10 5:53 ` Muchun Song
0 siblings, 0 replies; 3+ messages in thread
From: Muchun Song @ 2021-03-10 5:53 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Andrew Morton, Linux Kernel Mailing List, Linux Next Mailing List
On Wed, Mar 10, 2021 at 11:55 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (sparc64
> defconfig) failed like this:
>
> arch/sparc/mm/init_64.c:2495:4: error: implicit declaration of function 'register_page_bootmem_info_node'; did you mean 'register_page_bootmem_info'? [-Werror=implicit-function-declaration]
> register_page_bootmem_info_node(NODE_DATA(i));
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> register_page_bootmem_info
>
> Caused by commit
>
> cd28b1a6791d ("mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c")
>
> grep is your friend ...
>
> I have applied the following patch for today:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Wed, 10 Mar 2021 14:46:27 +1100
> Subject: [PATCH] fix for "mm: memory_hotplug: factor out bootmem core
> functions to bootmem_info.c"
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Sorry, it is my mistake. Thanks Stephen to fix this. This is the right fix.
> ---
> arch/sparc/mm/init_64.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
> index 182bb7bdaa0a..c709b72e81bf 100644
> --- a/arch/sparc/mm/init_64.c
> +++ b/arch/sparc/mm/init_64.c
> @@ -27,6 +27,7 @@
> #include <linux/percpu.h>
> #include <linux/mmzone.h>
> #include <linux/gfp.h>
> +#include <linux/bootmem_info.h>
>
> #include <asm/head.h>
> #include <asm/page.h>
> --
> 2.30.0
>
> --
> Cheers,
> Stephen Rothwell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [External] linux-next: build failure after merge of the akpm-current tree
2021-05-21 5:53 Stephen Rothwell
@ 2021-05-21 6:09 ` Muchun Song
0 siblings, 0 replies; 3+ messages in thread
From: Muchun Song @ 2021-05-21 6:09 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Andrew Morton, Mike Kravetz, Oscar Salvador, Michal Hocko,
David Hildenbrand, Matthew Wilcox, Xiongchun Duan,
Anshuman Khandual, Linux Kernel Mailing List,
Linux Next Mailing List
On Fri, May 21, 2021 at 1:54 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> mm/migrate.c: In function 'unmap_and_move_huge_page':
> mm/migrate.c:1295:6: error: implicit declaration of function 'hugetlb_page_subpool' [-Werror=implicit-function-declaration]
> 1295 | if (hugetlb_page_subpool(hpage) && !page_mapping(hpage)) {
> | ^~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> b63794a67ae2 ("mm: migrate: fix missing update page_private to hugetlb_page_subpool")
>
> CONFIG_HUGETLB_PAGE is not defined for this build.
>
> I have reverted that commit for today.
Thanks for your test. It has been fixed by the following patch.
https://lore.kernel.org/linux-mm/20210521022747.35736-1-songmuchun@bytedance.com/
>
> --
> Cheers,
> Stephen Rothwell
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-21 6:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 3:55 linux-next: build failure after merge of the akpm-current tree Stephen Rothwell
2021-03-10 5:53 ` [External] " Muchun Song
2021-05-21 5:53 Stephen Rothwell
2021-05-21 6:09 ` [External] " Muchun Song
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.