firewire-ohci: use dma_alloc_pages
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 11:48:33 +0000 (13:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 04:20:48 +0000 (06:20 +0200)
commitc51a9868d361a508c5340788950ece7959009c51
tree0a065c04f872604fdfe5d6b1483cfcefeb125037
parente8d39a903cc680c8c1ab5e528428f182f42b8a35
firewire-ohci: use dma_alloc_pages

Use dma_alloc_pages to allocate DMAable pages instead of hoping that
the architecture either has GFP_DMA32 or not more than 4G of memory.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/firewire/ohci.c