]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nodemask.h
Memoryless nodes: introduce mask of nodes with memory
[linux-2.6-omap-h63xx.git] / include / linux / nodemask.h
index 583e6b843d2a86f5094c25932f90ea1c3b1621ff..ccee962f3559b6e97e7e8243439091dc2b9e080d 100644 (file)
@@ -341,8 +341,14 @@ static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp,
  * Bitmasks that are kept for all the nodes.
  */
 enum node_states {
-       N_POSSIBLE,     /* The node could become online at some point */
-       N_ONLINE,       /* The node is online */
+       N_POSSIBLE,             /* The node could become online at some point */
+       N_ONLINE,               /* The node is online */
+       N_NORMAL_MEMORY,        /* The node has regular memory */
+#ifdef CONFIG_HIGHMEM
+       N_HIGH_MEMORY,          /* The node has regular or high memory */
+#else
+       N_HIGH_MEMORY = N_NORMAL_MEMORY,
+#endif
        NR_NODE_STATES
 };