aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Hongyang <yanghy@cn.fujitsu.com>2009-04-06 22:01:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 11:31:10 -0400
commite911e0d9af90e4f1b4f2cf183a0993f9fed9f9c6 (patch)
tree6478614da94bd8f709d45c6d47983fe9345bb6be
parent6a35528a8346f6e6fd32ed7e51f04d1fa4ca2c01 (diff)
dma-mapping: replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)
Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/net/dl2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index c749e9fb47ef..4a1b554654eb 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -714,7 +714,7 @@ rio_interrupt (int irq, void *dev_instance)
714 714
715static inline dma_addr_t desc_to_dma(struct netdev_desc *desc) 715static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
716{ 716{
717 return le64_to_cpu(desc->fraginfo) & DMA_48BIT_MASK; 717 return le64_to_cpu(desc->fraginfo) & DMA_BIT_MASK(48);
718} 718}
719 719
720static void 720static void