X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=ipc%2Fshm.c;h=ab749be6d8b71ffc351a0a6fa92b5027593966b6;hb=18319498fdd4cdf8c1c2c48cd432863b1f915d6f;hp=748933e376cad6d4dabfc01e6cf2d91b68dd852f;hpb=40226a3d96ef8ab8980f032681c8bfd46d63874e;p=linux-2.6-microblaze.git diff --git a/ipc/shm.c b/ipc/shm.c index 748933e376ca..ab749be6d8b7 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -619,7 +619,7 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params) ns->shm_tot + numpages > ns->shm_ctlall) return -ENOSPC; - shp = kmalloc(sizeof(*shp), GFP_KERNEL); + shp = kmalloc(sizeof(*shp), GFP_KERNEL_ACCOUNT); if (unlikely(!shp)) return -ENOMEM;