X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fnoop-iosched.c;h=79af431794213867e5ac1c457103d62b0d74cb43;hb=621da0f8af228525e4b40390e36fbdc44a587cf1;hp=56a7c620574f86c0338a431354344d149314ce0f;hpb=c080a3e69dfb58ae9b8c7e70a1e33f4f4e493ea7;p=linux-2.6-omap-h63xx.git diff --git a/block/noop-iosched.c b/block/noop-iosched.c index 56a7c620574..79af4317942 100644 --- a/block/noop-iosched.c +++ b/block/noop-iosched.c @@ -69,7 +69,7 @@ static void *noop_init_queue(request_queue_t *q, elevator_t *e) { struct noop_data *nd; - nd = kmalloc(sizeof(*nd), GFP_KERNEL); + nd = kmalloc_node(sizeof(*nd), GFP_KERNEL, q->node); if (!nd) return NULL; INIT_LIST_HEAD(&nd->queue);