1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #include <linux/printk.h>
4 #include <linux/numa.h>
8 #ifndef memory_add_physaddr_to_nid
9 int memory_add_physaddr_to_nid(u64 start)
11 pr_info_once("Unknown online node for memory at 0x%llx, assuming node 0\n",
15 EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
18 #ifndef phys_to_target_node
19 int phys_to_target_node(u64 start)
21 pr_info_once("Unknown target node for memory at 0x%llx, assuming node 0\n",
25 EXPORT_SYMBOL_GPL(phys_to_target_node);