Re: [PATCH -mm 1/7] sparc: unify 32bit and 64bit dma_set_mask

From: David Miller
Date: Fri Feb 12 2010 - 20:09:39 EST


From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Date: Fri, 12 Feb 2010 18:33:26 +0900

> sparc has two dma_set_mask implementations for 32bit and 64bit. They
> are same except for the error returned value. We can safely unify them
> since the error returned value doesn't matter as long as it is
> negative (as DMA-API.txt describes).
>
> This patch also changes dma_set_mask not to call
> pci_set_dma_mask. Instead, dma_set_mask does the same thing that
> pci_set_dma_mask does. This change enables ut to change
> pci_set_dma_mask to call dma_set_mask; we can implement
> pci_set_dma_mask as pci-dma-compat.h does.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/