diff options
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r-- | mm/mempolicy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 71430d440822..73790188b0eb 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -982,9 +982,6 @@ static unsigned interleave_nodes(struct mempolicy *policy) | |||
982 | */ | 982 | */ |
983 | unsigned slab_node(struct mempolicy *policy) | 983 | unsigned slab_node(struct mempolicy *policy) |
984 | { | 984 | { |
985 | if (in_interrupt()) | ||
986 | return numa_node_id(); | ||
987 | |||
988 | switch (policy->policy) { | 985 | switch (policy->policy) { |
989 | case MPOL_INTERLEAVE: | 986 | case MPOL_INTERLEAVE: |
990 | return interleave_nodes(policy); | 987 | return interleave_nodes(policy); |