ion: add helper to zero contiguous region of pages
authorColin Cross <ccross@android.com>
Wed, 27 Nov 2013 23:51:02 +0000 (15:51 -0800)
committerColin Cross <ccross@android.com>
Thu, 12 Dec 2013 23:27:14 +0000 (15:27 -0800)
commit049ca90450f8de6bff6c326d6c20ba2959db2e00
tree8a158adb245333b03a901ed3cba4d78537d61022
parent1ebba641fb19e38541e30666de8f26b7971949dc
ion: add helper to zero contiguous region of pages

Add ion_heap_pages_zero for ion heaps to use to zero pages
during initialization or allocation, when a struct ion_buffer
may not be available.  Use it from the chunk heap and carveout
heaps.

Change-Id: Ic6c921943a8820cf9896da5164f2d9794d0fe91f
Signed-off-by: Colin Cross <ccross@android.com>
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_chunk_heap.c
drivers/staging/android/ion/ion_heap.c
drivers/staging/android/ion/ion_priv.h