projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'lsk/linux-linaro-lsk-v4.4-android' into linux-linaro...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
android
/
ion
/
ion_carveout_heap.c
diff --git
a/drivers/staging/android/ion/ion_carveout_heap.c
b/drivers/staging/android/ion/ion_carveout_heap.c
index 9156d8238c9797cd1d4c3c03365461e176772c2d..e702ce6461fc9b4a47f8c513c68e25fe80bdacc4 100644
(file)
--- a/
drivers/staging/android/ion/ion_carveout_heap.c
+++ b/
drivers/staging/android/ion/ion_carveout_heap.c
@@
-167,7
+167,7
@@
struct ion_heap *ion_carveout_heap_create(struct ion_platform_heap *heap_data)
if (!carveout_heap)
return ERR_PTR(-ENOMEM);
- carveout_heap->pool = gen_pool_create(
12
, -1);
+ carveout_heap->pool = gen_pool_create(
PAGE_SHIFT
, -1);
if (!carveout_heap->pool) {
kfree(carveout_heap);
return ERR_PTR(-ENOMEM);