summaryrefslogtreecommitdiff
path: root/tools/include/linux/slab.h
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2024-04-02 13:26:59 +0000
committerMike Rapoport (IBM) <rppt@kernel.org>2024-04-04 11:08:32 +0300
commit7d8ed162e6a92268d4b2b84d364a931216102c8e (patch)
tree63216996ec82891b93c6c62ec3b922716ebd9f19 /tools/include/linux/slab.h
parent39cd87c4eb2b893354f3b850f916353f2658ae6f (diff)
downloadlwn-7d8ed162e6a92268d4b2b84d364a931216102c8e.tar.gz
lwn-7d8ed162e6a92268d4b2b84d364a931216102c8e.zip
memblock tests: fix undefined reference to `early_pfn_to_nid'
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>
Diffstat (limited to 'tools/include/linux/slab.h')
0 files changed, 0 insertions, 0 deletions