diff --git a/ipc/sem.c b/ipc/sem.c index 1467b4c7a5d1..bd907ed2ce00 100644 --- a/ipc/sem.c +++ b/ipc/sem.c @@ -1984,8 +1984,7 @@ static long do_semtimedop(int semid, struct sembuf __user *tsops, if (nsops > ns->sc_semopm) return -E2BIG; if (nsops > SEMOPM_FAST) { - sops = kvmalloc_array(nsops, sizeof(*sops), - GFP_KERNEL_ACCOUNT); + sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL); if (sops == NULL) return -ENOMEM; }