kmemcheck: add DMA hooks
authorVegard Nossum <vegard.nossum@gmail.com>
Sun, 20 Jul 2008 08:44:54 +0000 (10:44 +0200)
committerVegard Nossum <vegard.nossum@gmail.com>
Mon, 15 Jun 2009 10:40:05 +0000 (12:40 +0200)
commitd7002857dee6e9a3ce1f78d23f37caba106b29c5
tree64453eb81be8409937a6daf207442cf5021e3b5e
parent2dff440525f8faba8836e9f05297b76f23b4af30
kmemcheck: add DMA hooks

This patch hooks into the DMA API to prevent the reporting of the
false positives that would otherwise be reported when memory is
accessed that is also used directly by devices.

[rebased for mainline inclusion]
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
arch/x86/include/asm/dma-mapping.h
include/linux/kmemcheck.h