Re: linux-next: build failure after merge of the akpm tree

From: Anshuman Khandual
Date: Wed Dec 12 2018 - 12:05:31 EST




On 12/03/2018 12:30 PM, Stephen Rothwell wrote:
> Hi Andrew,
>
> After merging the akpm tree, today's linux-next build (powerpc_le perf)
> failed like this:
>
> bench/numa.c:37:10: fatal error: linux/numa.h: No such file or directory
> #include <linux/numa.h>
> ^~~~~~~~~~~~~~
>
> Caused by patches
>
> "mm: replace all open encodings for NUMA_NO_NODE"
> "mm-replace-all-open-encodings-for-numa_no_node-fix"
>
> For linux/numa.h to be generally availble to the tools builds, it must
> be copied into tools/include/linux ...
>
> I have done that copy for today:
>
> From 6dabc11d5513510d0ec0a6b0a4aa8b9051b71516 Mon Sep 17 00:00:00 2001
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Mon, 3 Dec 2018 17:57:27 +1100
> Subject: [PATCH] linux/numa.h is now needed for the perf build
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

Hello Stephen,

I will respin the original patch (https://patchwork.kernel.org/patch/10698089/)
once more to accommodate new feedbacks from Lubomir Rintel. This patch fixes the
build problem related to tools/perf. As Lubomir suggested, it might be better to
split the tools/perf changes ("tools: Replace open encodings for NUMA_NO_NODE")
from the original patch and then fold this fix onto it with both signed-off-by.
Does it sound good. Are you okay with it ?

- Anshuman