mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
block: kill bio_kmap/kunmap_irq()
There are no users of it anymore. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
05b7941394
commit
83f5f7ed72
2 changed files with 2 additions and 13 deletions
|
|
@ -216,7 +216,7 @@ may need to abort DMA operations and revert to PIO for the transfer, in
|
|||
which case a virtual mapping of the page is required. For SCSI it is also
|
||||
done in some scenarios where the low level driver cannot be trusted to
|
||||
handle a single sg entry correctly. The driver is expected to perform the
|
||||
kmaps as needed on such occasions using the __bio_kmap_atomic and bio_kmap_irq
|
||||
kmaps as needed on such occasions using the bio_kmap_irq and friends
|
||||
routines as appropriate. A driver could also use the blk_queue_bounce()
|
||||
routine on its own to bounce highmem i/o to low memory for specific requests
|
||||
if so desired.
|
||||
|
|
@ -1137,7 +1137,7 @@ use dma_map_sg for scatter gather) to be able to ship it to the driver. For
|
|||
PIO drivers (or drivers that need to revert to PIO transfer once in a
|
||||
while (IDE for example)), where the CPU is doing the actual data
|
||||
transfer a virtual mapping is needed. If the driver supports highmem I/O,
|
||||
(Sec 1.1, (ii) ) it needs to use __bio_kmap_atomic and bio_kmap_irq to
|
||||
(Sec 1.1, (ii) ) it needs to use __bio_kmap_atomic or similar to
|
||||
temporarily map a bio into the virtual address space.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue