]> git.baikalelectronics.ru Git - kernel.git/commit
dma-debug: add variables and checks for driver filter
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 22 May 2009 16:24:20 +0000 (18:24 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 2 Jun 2009 12:54:55 +0000 (14:54 +0200)
commit6433442cbe1d8f5f6e0caf4f2db75c4ad388821f
tree7cc7623379821ef36423d4c3fe19f17c7e5c019f
parentdd495c177b581404f67b568dde69647d51fa0938
dma-debug: add variables and checks for driver filter

This patch adds the state variables for the driver filter and a function
to check if the filter is enabled and matches to the current device. The
check is built into the err_printk function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
lib/dma-debug.c