diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mempolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 123925f50f86..2076b1542b8a 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -370,7 +370,7 @@ long do_mbind(unsigned long start, unsigned long len, | |||
370 | return -EINVAL; | 370 | return -EINVAL; |
371 | if (end == start) | 371 | if (end == start) |
372 | return 0; | 372 | return 0; |
373 | if (contextualize_policy(mode, nmask)) | 373 | if (mpol_check_policy(mode, nmask)) |
374 | return -EINVAL; | 374 | return -EINVAL; |
375 | new = mpol_new(mode, nmask); | 375 | new = mpol_new(mode, nmask); |
376 | if (IS_ERR(new)) | 376 | if (IS_ERR(new)) |