diff options
author | James Bottomley <James.Bottomley@SteelEye.com> | 2007-10-16 12:23:55 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 20:42:50 +0400 |
commit | 32e8f70230c0c417490787b3f48b6ed6c48e7ec9 (patch) | |
tree | 54ef9f6c8960ab2a9634d0d82d69d6049bc6f3fb /lib/semaphore-sleepers.c | |
parent | 64da82efae0d7b5f7c478021840fd329f76d965d (diff) | |
download | linux-32e8f70230c0c417490787b3f48b6ed6c48e7ec9.tar.xz |
introduce DMA_MASK_NONE as a signal for unable to do DMA
Some devices are incapable of DMA and need to be recognised as such.
Introduce a NONE dma mask to facilitate this plus an inline function:
is_device_dma_capable() to check this.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Natalie Protasevich <protasnb@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/semaphore-sleepers.c')
0 files changed, 0 insertions, 0 deletions