diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 13:38:18 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 13:38:18 -0500 |
commit | f27c580c3628d79b17f38976d842a6d7f3616e2e (patch) | |
tree | f1a1a96c1130e7e1c88f75cb5f5aab4c53fe0297 /include/linux | |
parent | aa1e6f1a385eb2b04171ec841f3b760091e4a8ee (diff) |
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')
-rw-r--r-- | include/linux/dmaengine.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index db050e97d2b4..bca2fc758894 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -142,10 +142,6 @@ struct dma_chan { | |||
142 | int chan_id; | 142 | int chan_id; |
143 | struct device dev; | 143 | struct device dev; |
144 | 144 | ||
145 | struct kref refcount; | ||
146 | int slow_ref; | ||
147 | struct rcu_head rcu; | ||
148 | |||
149 | struct list_head device_node; | 145 | struct list_head device_node; |
150 | struct dma_chan_percpu *local; | 146 | struct dma_chan_percpu *local; |
151 | int client_count; | 147 | int client_count; |
@@ -233,9 +229,6 @@ struct dma_device { | |||
233 | dma_cap_mask_t cap_mask; | 229 | dma_cap_mask_t cap_mask; |
234 | int max_xor; | 230 | int max_xor; |
235 | 231 | ||
236 | struct kref refcount; | ||
237 | struct completion done; | ||
238 | |||
239 | int dev_id; | 232 | int dev_id; |
240 | struct device *dev; | 233 | struct device *dev; |
241 | 234 | ||