projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
numa: add CONFIG_MOVABLE_NODE for movable-dedicated node
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
linux
/
nodemask.h
diff --git
a/include/linux/nodemask.h
b/include/linux/nodemask.h
index
c6ebdc9
..
4e2cbfa
100644
(file)
--- a/
include/linux/nodemask.h
+++ b/
include/linux/nodemask.h
@@
-380,7
+380,11
@@
enum node_states {
#else
N_HIGH_MEMORY = N_NORMAL_MEMORY,
#endif
+#ifdef CONFIG_MOVABLE_NODE
+ N_MEMORY, /* The node has memory(regular, high, movable) */
+#else
N_MEMORY = N_HIGH_MEMORY,
+#endif
N_CPU, /* The node has one or more cpus */
NR_NODE_STATES
};