1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __X86_MM_NUMA_INTERNAL_H
3 #define __X86_MM_NUMA_INTERNAL_H
5 #include <linux/types.h>
16 struct numa_memblk blk
[NR_NODE_MEMBLKS
];
19 void __init
numa_remove_memblk_from(int idx
, struct numa_meminfo
*mi
);
20 int __init
numa_cleanup_meminfo(struct numa_meminfo
*mi
);
21 void __init
numa_reset_distance(void);
23 void __init
x86_numa_init(void);
25 #ifdef CONFIG_NUMA_EMU
26 void __init
numa_emulation(struct numa_meminfo
*numa_meminfo
,
29 static inline void numa_emulation(struct numa_meminfo
*numa_meminfo
,
34 #endif /* __X86_MM_NUMA_INTERNAL_H */