]> git.baikalelectronics.ru Git - kernel.git/commit
gdrom: support highmem
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Apr 2021 06:16:48 +0000 (08:16 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Apr 2021 15:29:36 +0000 (09:29 -0600)
commit71e46875bd6a85bf5eb62f1bfc924490425595a5
tree12a753917a19aa56a69ae8f878cbeca666335f4a
parent6c822233aa881fef54245266038aa90ad6c6f54c
gdrom: support highmem

The gdrom driver only has a single reference to the virtual address of
the bio data, and uses that only to get the physical address.  Switch
to deriving the physical address from the page directly and thus avoid
bounce buffering highmem data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210406061648.811275-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/cdrom/gdrom.c