]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: remove dma64_addr_t usage
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 27 Oct 2010 22:34:47 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:17 +0000 (18:03 -0700)
commit6843a84956c3877be36b5bdd10e8129a8afd1f0f
tree4f2283a69db5edcb6d4587cc9a8cc2f59f6a960c
parentecbbfc986335577d1c1afbb634a86eb30fbedda7
sparc: remove dma64_addr_t usage

dma64_addr_t looks pointless (at least there is no point that an
architecture has the own dma64_addr_t typedef).

dma_addr_t is set to 32 or 64 bits appropriately. You can use u64
at places where you know that 64 bit address is always necessary.

Let's use u64 instead for sparc32.

Looks like PCI654_REQUIRED_MASK or PCI64_ADR_BASE isn't used. They can
be removed?

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sparc/include/asm/pci_64.h