From c304a51bf42a7ce48f430a371e1213472c89e13d Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Sat, 10 Nov 2012 10:39:44 +0100 Subject: block: use NUMA_NO_NODE instead of -1 Signed-off-by: Ezequiel Garcia Modified by me to cover blk_init_queue() as well. Signed-off-by: Jens Axboe --- block/genhd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block/genhd.c') diff --git a/block/genhd.c b/block/genhd.c index 6cace663a80e..2a6fdf539a69 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -1245,7 +1245,7 @@ EXPORT_SYMBOL(blk_lookup_devt); struct gendisk *alloc_disk(int minors) { - return alloc_disk_node(minors, -1); + return alloc_disk_node(minors, NUMA_NO_NODE); } EXPORT_SYMBOL(alloc_disk); -- cgit v1.2.3