diff options
Diffstat (limited to 'include/linux/dma-buf.h')
-rw-r--r-- | include/linux/dma-buf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h index 3d754a394e92..9978b614a1aa 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h | |||
@@ -119,8 +119,10 @@ struct dma_buf { | |||
119 | struct file *file; | 119 | struct file *file; |
120 | struct list_head attachments; | 120 | struct list_head attachments; |
121 | const struct dma_buf_ops *ops; | 121 | const struct dma_buf_ops *ops; |
122 | /* mutex to serialize list manipulation and attach/detach */ | 122 | /* mutex to serialize list manipulation, attach/detach and vmap/unmap */ |
123 | struct mutex lock; | 123 | struct mutex lock; |
124 | unsigned vmapping_counter; | ||
125 | void *vmap_ptr; | ||
124 | void *priv; | 126 | void *priv; |
125 | }; | 127 | }; |
126 | 128 | ||