Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

alpha: remove dma64_addr_t usage

dma_addr_t is always 64 bit on alpha. So let's use dma_addr_t instead.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

FUJITA Tomonori and committed by
Linus Torvalds
f49d2eb3 c1c7438d

+2 -2
+2 -2
arch/alpha/kernel/pci_iommu.c
··· 223 223 */ 224 224 static int pci_dac_dma_supported(struct pci_dev *dev, u64 mask) 225 225 { 226 - dma64_addr_t dac_offset = alpha_mv.pci_dac_offset; 226 + dma_addr_t dac_offset = alpha_mv.pci_dac_offset; 227 227 int ok = 1; 228 228 229 229 /* If this is not set, the machine doesn't support DAC at all. */ ··· 756 756 spin_lock_irqsave(&arena->lock, flags); 757 757 758 758 for (end = sg + nents; sg < end; ++sg) { 759 - dma64_addr_t addr; 759 + dma_addr_t addr; 760 760 size_t size; 761 761 long npages, ofs; 762 762 dma_addr_t tend;