public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] microblaze: remove unused HAVE_ARCH_PCI_SET_DMA_MASK
@ 2010-07-12  6:37 FUJITA Tomonori
  2010-07-12  6:39 ` FUJITA Tomonori
  2010-07-12 13:07 ` Michal Simek
  0 siblings, 2 replies; 3+ messages in thread
From: FUJITA Tomonori @ 2010-07-12  6:37 UTC (permalink / raw)
  To: monstr; +Cc: linux-kernel, microblaze-uclinux

HAVE_ARCH_PCI_SET_DMA_MASK was removed in 2.6.36 (no architecture has
the own implementation of pci_set_dma_mask).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
 arch/microblaze/include/asm/dma-mapping.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/microblaze/include/asm/dma-mapping.h b/arch/microblaze/include/asm/dma-mapping.h
index 18b3731..5073895 100644
--- a/arch/microblaze/include/asm/dma-mapping.h
+++ b/arch/microblaze/include/asm/dma-mapping.h
@@ -79,12 +79,6 @@ static inline int dma_supported(struct device *dev, u64 mask)
 	return ops->dma_supported(dev, mask);
 }
 
-#ifdef CONFIG_PCI
-/* We have our own implementation of pci_set_dma_mask() */
-#define HAVE_ARCH_PCI_SET_DMA_MASK
-
-#endif
-
 static inline int dma_set_mask(struct device *dev, u64 dma_mask)
 {
 	struct dma_map_ops *ops = get_dma_ops(dev);
-- 
1.6.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-12 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12  6:37 [PATCH] microblaze: remove unused HAVE_ARCH_PCI_SET_DMA_MASK FUJITA Tomonori
2010-07-12  6:39 ` FUJITA Tomonori
2010-07-12 13:07 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox