linux/arch/m68k/emu
Christoph Hellwig 3d745ea5b0 block: simplify queue allocation
Current make_request based drivers use either blk_alloc_queue_node or
blk_alloc_queue to allocate a queue, and then set up the make_request_fn
function pointer and a few parameters using the blk_queue_make_request
helper.  Simplify this by passing the make_request pointer to
blk_alloc_queue, and while at it merge the _node variant into the main
helper by always passing a node_id, and remove the superfluous gfp_mask
parameter.  A lower-level __blk_alloc_queue is kept for the blk-mq case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-03-27 10:23:43 -06:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
natfeat.c m68k: Mark functions only called from setup_arch() __init 2013-11-26 11:08:54 +01:00
nfblock.c block: simplify queue allocation 2020-03-27 10:23:43 -06:00
nfcon.c m68k/atari: ARAnyM - Always use physical addresses in NatFeat calls 2013-08-23 12:49:01 +02:00
nfeth.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00