linux-next: build failure after merge of the akpm tree
Subsystems (3)
Hi all,
After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this:
arch/x86/mm/kaslr.c:26:10: fatal error: linux/bootmem.h: No such file or directory
#include <linux/bootmem.h>
^~~~~~~~~~~~~~~~~Caused by patch
"mm: remove include/linux/bootmem.h"
interacting with commit
3a387c6d96e6 ("x86/kaslr, ACPI/NUMA: Fix KASLR build error")
from the tip tree.
I have added the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 8 Oct 2018 18:57:00 +1100
Subject: [PATCH] x86/kaslr, ACPI/NUMA: fix for linux/bootmem.h removal
--- arch/x86/mm/kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/kaslr.c +1 -1
@@ -23,7 +23,7 @@#include <linux/kernel.h> #include <linux/init.h> #include <linux/random.h> -#include <linux/bootmem.h> +#include <linux/memblock.h> #include <asm/pgalloc.h> #include <asm/pgtable.h>
Signature · 5 lines
2.18.0 -- Cheers, Stephen Rothwell
Hi all,
Quoted 35 lines · On Mon, 8 Oct 2018 19:03:41 +1100 Stephen Rothwell <[email protected]> wrote:
After merging the akpm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
arch/x86/mm/kaslr.c:26:10: fatal error:linux/bootmem.h: No such file or directory#include <linux/bootmem.h> ^~~~~~~~~~~~~~~~~Caused by patch
"mm: remove
include/linux/bootmem.h"interacting with commit
3a387c6d96e6("x86/kaslr, ACPI/NUMA: Fix KASLR build error")from the tip tree.
I have added the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 8 Oct 2018 18:57:00 +1100
Subject: [PATCH] x86/kaslr, ACPI/NUMA: fix forlinux/bootmem.hremovalSigned-off-by Stephen Rothwell <[email protected]>--- arch/x86/mm/kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/mm/kaslr.c +0
-0
arch/x86/mm/kaslr.c line 29
Quoted 8 lines
arch/x86/mm/kaslr.c +1
-1@@ -23,7 +23,7 @@#include <linux/kernel.h> #include <linux/init.h> #include <linux/random.h> -#include <linux/bootmem.h> +#include <linux/memblock.h> #include <asm/pgalloc.h> #include <asm/pgtable.h>
So the above tip tree patch no longer exists, so this one is also no longer needed and I have removed it from the akpm tree today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 43 lines · Stephen Rothwell
Hi all,
Quoted 40 lines · On Mon, 8 Oct 2018 19:03:41 +1100 Stephen Rothwell <[email protected]> wrote:
After merging the akpm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
arch/x86/mm/kaslr.c:26:10: fatal error:linux/bootmem.h: No such file or directory#include <linux/bootmem.h> ^~~~~~~~~~~~~~~~~Caused by patch
"mm: remove
include/linux/bootmem.h"interacting with commit
3a387c6d96e6("x86/kaslr, ACPI/NUMA: Fix KASLR build error")from the tip tree.
I have added the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 8 Oct 2018 18:57:00 +1100
Subject: [PATCH] x86/kaslr, ACPI/NUMA: fix forlinux/bootmem.hremovalSigned-off-by Stephen Rothwell <[email protected]>--- arch/x86/mm/kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/mm/kaslr.c +1
-1@@ -23,7 +23,7 @@#include <linux/kernel.h> #include <linux/init.h> #include <linux/random.h> -#include <linux/bootmem.h> +#include <linux/memblock.h>
Quoted 6 lines
arch/x86/mm/kaslr.c line 29
Quoted 3 lines
arch/x86/mm/kaslr.c +0
-0#include <asm/pgalloc.h> #include <asm/pgtable.h> So the above tip tree patch no longer exists, so this one is also no longer needed and I have removed it from the akpm tree today.
Yeah, we are reworking this series in WIP.x86/boot, it probably won't make v4.20 so I removed it from -next.
Thanks,
Ingo