xref: /linux/tools/testing/memblock/linux/memory_hotplug.h (revision b83deaa741558babf4b8d51d34f6637ccfff1b26)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_MEMORY_HOTPLUG_H
3 #define _LINUX_MEMORY_HOTPLUG_H
4 
5 #include <linux/numa.h>
6 #include <linux/pfn.h>
7 #include <linux/cache.h>
8 #include <linux/types.h>
9 
10 static inline bool movable_node_is_enabled(void)
11 {
12 #ifdef MOVABLE_NODE
13 	return true;
14 #else
15 	return false;
16 #endif
17 }
18 
19 #endif
20