X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=block%2Fnoop-iosched.c;h=1c3de2b9a6b59c0d6938b082bfb48fa6085d877d;hb=5b982c5bb7db5cfbc15236d9d45cec32e5472ed5;hp=56a7c620574f86c0338a431354344d149314ce0f;hpb=2a2ed2db353d949c06b6ef8b6913f65b39111eab;p=powerpc.git diff --git a/block/noop-iosched.c b/block/noop-iosched.c index 56a7c62057..1c3de2b9a6 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);