X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=block%2Fnoop-iosched.c;h=1c3de2b9a6b59c0d6938b082bfb48fa6085d877d;hb=9c67cd146084040648b72933f138eeb72104be9d;hp=56a7c620574f86c0338a431354344d149314ce0f;hpb=b20e481ab595e9667c33e2393bdfe9a31870d11f;p=linux-2.6-omap-h63xx.git diff --git a/block/noop-iosched.c b/block/noop-iosched.c index 56a7c620574..1c3de2b9a6b 100644 --- a/block/noop-iosched.c +++ b/block/noop-iosched.c @@ -65,11 +65,11 @@ noop_latter_request(request_queue_t *q, struct request *rq) return list_entry(rq->queuelist.next, struct request, queuelist); } -static void *noop_init_queue(request_queue_t *q, elevator_t *e) +static void *noop_init_queue(request_queue_t *q) { 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);