X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;ds=sidebyside;f=fs%2Fselect.c;h=945896d0ac9e7624db36d48169ebc757d4f18adb;hb=2aae0a937ad169752b5710d4f210c1ae7a49d3cf;hp=e83e563a351dbd71e8972de22f490d22fda43707;hpb=fd47ff55c9c31101fcc06d20cb381da3d4089bd5;p=linux-2.6-microblaze.git diff --git a/fs/select.c b/fs/select.c index e83e563a351d..945896d0ac9e 100644 --- a/fs/select.c +++ b/fs/select.c @@ -655,7 +655,7 @@ int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, goto out_nofds; alloc_size = 6 * size; - bits = kvmalloc(alloc_size, GFP_KERNEL_ACCOUNT); + bits = kvmalloc(alloc_size, GFP_KERNEL); if (!bits) goto out_nofds; } @@ -1000,7 +1000,7 @@ static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, len = min(todo, POLLFD_PER_PAGE); walk = walk->next = kmalloc(struct_size(walk, entries, len), - GFP_KERNEL_ACCOUNT); + GFP_KERNEL); if (!walk) { err = -ENOMEM; goto out_fds;