On Thu, 10 Sep 2009, Lee Schermerhorn wrote: > PATCH 5/7 - hugetlb: promote NUMA_NO_NODE to generic constant > > Against: 2.6.31-rc7-mmotm-090827-1651 > > Move definition of NUMA_NO_NODE from ia64 and x86_64 arch specific > headers to generic header 'linux/numa.h' for use in generic code. > NUMA_NO_NODE replaces bare '-1' where it's used in this series to > indicate "no node id specified". Ultimately, it can be used > to replace the -1 elsewhere where it is used similarly. > > Note that in arch/x86/include/asm/topology.h, NUMA_NO_NODE is > now only defined when CONFIG_NUMA is defined. This seems to work > for current usage of NUMA_NO_NODE in x86_64 arch code, with or > without CONFIG_NUMA defined. > > Signed-off-by: Lee Schermerhorn <lee.schermerhorn@xxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> Thought I recommended this in http://marc.info/?l=linux-mm&m=125201173730752 You could now convert NID_INVAL to NUMA_NO_NODE and remove the duplicate constant as I earlier suggested to cleanup the acpi code. -- To unsubscribe from this list: send the line "unsubscribe linux-numa" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html