The patch titled sys_mbind: use cpuset accessors for mems_allowed has been added to the -mm tree. Its filename is sys_mbind-use-cpuset-accessors-for-mems_allowed.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: sys_mbind: use cpuset accessors for mems_allowed From: Andy Whitcroft <apw@xxxxxxxxxxxx> sys_mbind is currently accessing mems_allowed directly. This does not exist when CONFIG_CPUSETS is not defined. This leads to the following error: mm/mempolicy.c: In function `sys_mbind': mm/mempolicy.c:885: error: structure has no member named `mems_allowed' Use the cpuset accessors. Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/mempolicy.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN mm/mempolicy.c~sys_mbind-use-cpuset-accessors-for-mems_allowed mm/mempolicy.c --- a/mm/mempolicy.c~sys_mbind-use-cpuset-accessors-for-mems_allowed +++ a/mm/mempolicy.c @@ -880,9 +880,11 @@ asmlinkage long sys_mbind(unsigned long { nodemask_t nodes; int err; + nodemask_t allowed_nodes; err = get_nodes(&nodes, nmask, maxnode); - nodes_and(nodes, nodes, current->mems_allowed); + allowed_nodes = cpuset_mems_allowed(current); + nodes_and(nodes, nodes, allowed_nodes); if (err) return err; return do_mbind(start, len, mode, &nodes, flags); _ Patches currently in -mm which might be from apw@xxxxxxxxxxxx are origin.patch fix-sparsemem-on-cell.patch sys_mbind-use-cpuset-accessors-for-mems_allowed.patch pci-device-ensure-sysdata-initialised-v2.patch slab-cache-alloc-cleanups.patch lumpy-reclaim-v2.patch lumpy-reclaim-v2-page_to_pfn-fix.patch lumpy-reclaim-v2-tidy.patch deal-with-cases-of-zone_dma-meaning-the-first-zone.patch optional-zone_dma-in-the-vm.patch zoneid-fix-up-calculations-for-zoneid_pgshift.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html