diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2024-04-02 16:26:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-17 13:14:43 +0300 |
commit | 4e0eaff2f69276dec11555ab35a44d5fd6fb6b92 (patch) | |
tree | 98902d83b7eb5e6adde192e00dd9c431aebab5e5 /include | |
parent | 2ad74c58e8e2404ff8e1635d66952bda763c0b01 (diff) | |
download | linux-4e0eaff2f69276dec11555ab35a44d5fd6fb6b92.tar.xz |
memblock tests: fix undefined reference to `early_pfn_to_nid'
[ Upstream commit 7d8ed162e6a92268d4b2b84d364a931216102c8e ]
commit 6a9531c3a880 ("memblock: fix crash when reserved memory is not
added to memory") introduce the usage of early_pfn_to_nid, which is not
defined in memblock tests.
The original definition of early_pfn_to_nid is defined in mm.h, so let
add this in the corresponding mm.h.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Yajun Deng <yajun.deng@linux.dev>
CC: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/20240402132701.29744-2-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions