summaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 11:38:18 -0700
committerDan Williams <dan.j.williams@intel.com>2009-01-06 11:38:18 -0700
commitf27c580c3628d79b17f38976d842a6d7f3616e2e (patch)
treef1a1a96c1130e7e1c88f75cb5f5aab4c53fe0297 /include/linux/dmaengine.h
parentaa1e6f1a385eb2b04171ec841f3b760091e4a8ee (diff)
downloadop-kernel-dev-f27c580c3628d79b17f38976d842a6d7f3616e2e.zip
op-kernel-dev-f27c580c3628d79b17f38976d842a6d7f3616e2e.tar.gz
dmaengine: remove 'bigref' infrastructure
Reference counting is done at the module level so clients need not worry that a channel will leave while they are actively using dmaengine. Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index db050e9..bca2fc7 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -142,10 +142,6 @@ struct dma_chan {
int chan_id;
struct device dev;
- struct kref refcount;
- int slow_ref;
- struct rcu_head rcu;
-
struct list_head device_node;
struct dma_chan_percpu *local;
int client_count;
@@ -233,9 +229,6 @@ struct dma_device {
dma_cap_mask_t cap_mask;
int max_xor;
- struct kref refcount;
- struct completion done;
-
int dev_id;
struct device *dev;
OpenPOWER on IntegriCloud