X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fselect.c;h=945896d0ac9e7624db36d48169ebc757d4f18adb;hb=fdfc346302a7b63e3d5b9168be74bb12b1975999;hp=e83e563a351dbd71e8972de22f490d22fda43707;hpb=f1583cb1be35c23df60b1c39e3e7e6704d749d0b;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;