diff options
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index f63383e01ec7..6503c6da4c4f 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -1750,16 +1750,6 @@ done: | |||
1750 | } | 1750 | } |
1751 | 1751 | ||
1752 | /** | 1752 | /** |
1753 | * cpuset_restrict_to_mems_allowed - limit nodes to current mems_allowed | ||
1754 | * @nodes: pointer to a node bitmap that is and-ed with mems_allowed | ||
1755 | */ | ||
1756 | void cpuset_restrict_to_mems_allowed(unsigned long *nodes) | ||
1757 | { | ||
1758 | bitmap_and(nodes, nodes, nodes_addr(current->mems_allowed), | ||
1759 | MAX_NUMNODES); | ||
1760 | } | ||
1761 | |||
1762 | /** | ||
1763 | * cpuset_zonelist_valid_mems_allowed - check zonelist vs. curremt mems_allowed | 1753 | * cpuset_zonelist_valid_mems_allowed - check zonelist vs. curremt mems_allowed |
1764 | * @zl: the zonelist to be checked | 1754 | * @zl: the zonelist to be checked |
1765 | * | 1755 | * |