diff options
Diffstat (limited to 'drivers/android/binder_alloc.h')
-rw-r--r-- | drivers/android/binder_alloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/android/binder_alloc.h b/drivers/android/binder_alloc.h index c0aadbbf7f19..995155f31dbd 100644 --- a/drivers/android/binder_alloc.h +++ b/drivers/android/binder_alloc.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/vmalloc.h> | 22 | #include <linux/vmalloc.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/list_lru.h> | 24 | #include <linux/list_lru.h> |
25 | #include <uapi/linux/android/binder.h> | ||
25 | 26 | ||
26 | extern struct list_lru binder_alloc_lru; | 27 | extern struct list_lru binder_alloc_lru; |
27 | struct binder_transaction; | 28 | struct binder_transaction; |
@@ -183,5 +184,12 @@ binder_alloc_get_user_buffer_offset(struct binder_alloc *alloc) | |||
183 | return alloc->user_buffer_offset; | 184 | return alloc->user_buffer_offset; |
184 | } | 185 | } |
185 | 186 | ||
187 | unsigned long | ||
188 | binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, | ||
189 | struct binder_buffer *buffer, | ||
190 | binder_size_t buffer_offset, | ||
191 | const void __user *from, | ||
192 | size_t bytes); | ||
193 | |||
186 | #endif /* _LINUX_BINDER_ALLOC_H */ | 194 | #endif /* _LINUX_BINDER_ALLOC_H */ |
187 | 195 | ||