projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
472c064
)
use DMA_BIT_MASK instead of inline constant
author
Marin Mitov
<mitov@issp.bas.bg>
Mon, 7 Dec 2009 02:30:44 +0000
(18:30 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 10 Dec 2009 02:59:52 +0000
(18:59 -0800)
Use DMA_BIT_MASK(24) instead of 0x00ffffff in DMA-mapping.txt
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/DMA-mapping.txt
patch
|
blob
|
history
diff --git
a/Documentation/DMA-mapping.txt
b/Documentation/DMA-mapping.txt
index
8378a58
..
ecad88d
100644
(file)
--- a/
Documentation/DMA-mapping.txt
+++ b/
Documentation/DMA-mapping.txt
@@
-214,7
+214,7
@@
most specific mask.
Here is pseudo-code showing how this might be done:
#define PLAYBACK_ADDRESS_BITS DMA_BIT_MASK(32)
- #define RECORD_ADDRESS_BITS
0x00ffffff
+ #define RECORD_ADDRESS_BITS
DMA_BIT_MASK(24)
struct my_sound_card *card;
struct pci_dev *pdev;