2022-02-02 11:03:09 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
#ifndef _LINUX_MEMORY_HOTPLUG_H
|
|
|
|
|
#define _LINUX_MEMORY_HOTPLUG_H
|
|
|
|
|
|
|
|
|
|
#include <linux/numa.h>
|
|
|
|
|
#include <linux/pfn.h>
|
|
|
|
|
#include <linux/cache.h>
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
2022-07-14 03:17:17 +00:00
|
|
|
extern bool movable_node_enabled;
|
|
|
|
|
|
2022-02-02 11:03:09 +00:00
|
|
|
static inline bool movable_node_is_enabled(void)
|
|
|
|
|
{
|
2022-07-14 03:17:17 +00:00
|
|
|
return movable_node_enabled;
|
2022-02-02 11:03:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|