File Index
Files and directories
Sign in
FILE

memory_hotplug.h

File preview with syntax highlighting.

linux-6.19.14/tools/testing/memblock/linux/memory_hotplug.h C
 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
10extern bool movable_node_enabled;
11
12static inline bool movable_node_is_enabled(void)
13{
14	return movable_node_enabled;
15}
16
17#endif
~/ Read-only file preview.