summaryrefslogtreecommitdiff
path: root/tools/testing/memblock/linux/memory_hotplug.h
blob: 47988765a219772e05fb97f60365ccdb6101bb14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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>

static inline bool movable_node_is_enabled(void)
{
#ifdef MOVABLE_NODE
	return true;
#else
	return false;
#endif
}

#endif