memory_hotplug.h 328 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_MEMORY_HOTPLUG_H
  3. #define _LINUX_MEMORY_HOTPLUG_H
  4. #include <linux/numa.h>
  5. #include <linux/pfn.h>
  6. #include <linux/cache.h>
  7. #include <linux/types.h>
  8. extern bool movable_node_enabled;
  9. static inline bool movable_node_is_enabled(void)
  10. {
  11. return movable_node_enabled;
  12. }
  13. #endif