summaryrefslogtreecommitdiff
path: root/include/asm-i386/resource.h
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2006-09-29 12:59:49 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 20:18:10 +0400
commitcd1c6a48ac16b360746f9f111895931d332c35dd (patch)
treefc26eaff11fd8bc8f2d725e3519211998a558351 /include/asm-i386/resource.h
parentd6bd3a39f7c6ebad49c261c3d458df974c880758 (diff)
downloadlinux-cd1c6a48ac16b360746f9f111895931d332c35dd.tar.xz
[PATCH] Use valid_dma_direction() in include/asm-i386/dma-mapping.h
Now that the generic DMA code has a function to decide if a given DMA mapping is valid use it. This will catch cases where direction is not any of the defined enum values but some random number outside the valid range. The current implementation will only catch the defined but invalid case DMA_NONE. Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Acked-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/resource.h')
0 files changed, 0 insertions, 0 deletions