summaryrefslogtreecommitdiffstats
path: root/Documentation/DMA-mapping.txt
diff options
context:
space:
mode:
authorMarin Mitov2009-12-07 03:30:44 +0100
committerLinus Torvalds2009-12-10 03:59:52 +0100
commit038f7d0027d208df8fd59f5ff2bcf5c2d2fbba3f (patch)
tree4b2be7b64069f50ca6e0535fdfc421bf661109d5 /Documentation/DMA-mapping.txt
parentUse KERN_WARNING instead of KERN_WARN, which does not exist (diff)
downloadkernel-qcow2-linux-038f7d0027d208df8fd59f5ff2bcf5c2d2fbba3f.tar.gz
kernel-qcow2-linux-038f7d0027d208df8fd59f5ff2bcf5c2d2fbba3f.tar.xz
kernel-qcow2-linux-038f7d0027d208df8fd59f5ff2bcf5c2d2fbba3f.zip
use DMA_BIT_MASK instead of inline constant
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>
Diffstat (limited to 'Documentation/DMA-mapping.txt')
-rw-r--r--Documentation/DMA-mapping.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DMA-mapping.txt b/Documentation/DMA-mapping.txt
index 8378a58f2822..ecad88d9fe59 100644
--- 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;