/* Are any of the nodes in the nodemask allowed in current->mems_allowed?  */
int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask)
/* Are any of the nodes in the nodemask allowed in current->mems_allowed?  */
int cpuset_nodemask_valid_mems_allowed(nodemask_t *nodemask)
{
	return nodes_intersects(*nodemask, current->mems_allowed);
}