]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - kernel/groups.c
mm: remove the pgprot argument to __vmalloc
[thirdparty/linux.git] / kernel / groups.c
index daae2f2dc6d4f64565112f0d7fea9c984887ce26..6ee6691f6839f64554aceeb1bbeca0785feda08d 100644 (file)
@@ -20,7 +20,7 @@ struct group_info *groups_alloc(int gidsetsize)
        len = sizeof(struct group_info) + sizeof(kgid_t) * gidsetsize;
        gi = kmalloc(len, GFP_KERNEL_ACCOUNT|__GFP_NOWARN|__GFP_NORETRY);
        if (!gi)
-               gi = __vmalloc(len, GFP_KERNEL_ACCOUNT, PAGE_KERNEL);
+               gi = __vmalloc(len, GFP_KERNEL_ACCOUNT);
        if (!gi)
                return NULL;