projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[powerpc.git]
/
block
/
noop-iosched.c
diff --git
a/block/noop-iosched.c
b/block/noop-iosched.c
index
56a7c62
..
1c3de2b
100644
(file)
--- 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);
}
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;
{
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);
if (!nd)
return NULL;
INIT_LIST_HEAD(&nd->queue);