}
static inline struct request *
- blk_alloc_request(request_queue_t *q, int rw, struct bio *bio, gfp_t gfp_mask)
+ blk_alloc_request(request_queue_t *q, int rw, struct bio *bio,
- int priv, int gfp_mask)
++ int priv, gfp_t gfp_mask)
{
struct request *rq = mempool_alloc(q->rq.rq_pool, gfp_mask);
extern void generic_unplug_device(request_queue_t *);
extern void __generic_unplug_device(request_queue_t *);
extern long nr_blockdev_pages(void);
- extern void blk_wait_queue_drained(request_queue_t *, int);
- extern void blk_finish_queue_drain(request_queue_t *);
int blk_get_queue(request_queue_t *);
-request_queue_t *blk_alloc_queue(int gfp_mask);
-request_queue_t *blk_alloc_queue_node(int,int);
+request_queue_t *blk_alloc_queue(gfp_t);
+request_queue_t *blk_alloc_queue_node(gfp_t, int);
#define blk_put_queue(q) blk_cleanup_queue((q))
/*