Re: [PATCH 0/3] memblock tests: fix build error

From: Mike Rapoport
Date: Tue Apr 02 2024 - 15:10:47 EST


On Tue, Apr 02, 2024 at 01:26:58PM +0000, Wei Yang wrote:
> Some kernel change break the test build, just fix it.
>
> Wei Yang (3):
> memblock tests: fix undefined reference to `early_pfn_to_nid'
> memblock tests: fix undefined reference to `panic'
> memblock tests: fix undefined reference to `BIT'
>
> include/linux/gfp_types.h | 2 ++
> tools/include/linux/kernel.h | 1 +
> tools/include/linux/mm.h | 5 +++++
> tools/include/linux/panic.h | 19 +++++++++++++++++++
> 4 files changed, 27 insertions(+)
> create mode 100644 tools/include/linux/panic.h

Andrew,

I can take these via memblock tree, what is your preference?

--
Sincerely yours,
Mike.