memory_hotplug.h (325B)
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 10static 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