]> 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)
commit922bb8ce29b1ccc2f83d37e0acf2efeb2f8fd852
tree12a753917a19aa56a69ae8f878cbeca666335f4a
parentc033bd004b29eabf87216b36df6255f715d1e489
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