aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r--block/blk-settings.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c
index 9acd0b7e802a..8d3393492891 100644
--- a/block/blk-settings.c
+++ b/block/blk-settings.c
@@ -194,23 +194,6 @@ void blk_queue_bounce_limit(struct request_queue *q, u64 dma_mask)
194EXPORT_SYMBOL(blk_queue_bounce_limit); 194EXPORT_SYMBOL(blk_queue_bounce_limit);
195 195
196/** 196/**
197 * blk_queue_bounce_pfn - set the bounce buffer limit for queue
198 * @q: the request queue for the device
199 * @pfn: max address
200 *
201 * Description:
202 * This function is similar to blk_queue_bounce_limit except it
203 * neither changes allocation flags, nor does it set up the ISA DMA
204 * pool. This function should only be used by stacking drivers.
205 * Hardware drivers should use blk_queue_bounce_limit instead.
206 */
207void blk_queue_bounce_pfn(struct request_queue *q, u64 pfn)
208{
209 q->limits.bounce_pfn = pfn;
210}
211EXPORT_SYMBOL(blk_queue_bounce_pfn);
212
213/**
214 * blk_queue_max_sectors - set max sectors for a request for this queue 197 * blk_queue_max_sectors - set max sectors for a request for this queue
215 * @q: the request queue for the device 198 * @q: the request queue for the device
216 * @max_sectors: max sectors in the usual 512b unit 199 * @max_sectors: max sectors in the usual 512b unit