OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a35528
)
dma-mapping: replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)
author
Yang Hongyang
<yanghy@cn.fujitsu.com>
Tue, 7 Apr 2009 02:01:13 +0000
(19:01 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:10 +0000
(08:31 -0700)
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>
drivers/net/dl2k.c
patch
|
blob
|
history
diff --git
a/drivers/net/dl2k.c
b/drivers/net/dl2k.c
index
c749e9f
..
4a1b554
100644
(file)
--- a/
drivers/net/dl2k.c
+++ b/
drivers/net/dl2k.c
@@
-714,7
+714,7
@@
rio_interrupt (int irq, void *dev_instance)
static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
{
- return le64_to_cpu(desc->fraginfo) & DMA_
48BIT_MASK
;
+ return le64_to_cpu(desc->fraginfo) & DMA_
BIT_MASK(48)
;
}
static void