diff --git a/ipc/sem.c b/ipc/sem.c index 68bb32be5658..47b8465db432 100644 --- a/ipc/sem.c +++ b/ipc/sem.c @@ -1879,7 +1879,7 @@ static long do_semtimedop(int semid, struct sembuf __user *tsops, if (nsops > ns->sc_semopm) return -E2BIG; if (nsops > SEMOPM_FAST) { - sops = kvmalloc(sizeof(*sops)*nsops, GFP_KERNEL_ACCOUNT); + sops = kvmalloc(sizeof(*sops)*nsops, GFP_KERNEL); if (sops == NULL) return -ENOMEM; }