OSDN Git Service

ion: ion_system_heap: SetPagePrivate when splitting secure pages
authorPatrick Daly <pdaly@codeaurora.org>
Fri, 23 Sep 2016 22:33:58 +0000 (15:33 -0700)
committerPatrick Daly <pdaly@codeaurora.org>
Tue, 4 Oct 2016 01:42:01 +0000 (18:42 -0700)
commit295721b3638f82b5197d610e0099e67b9e8e652e
treee175a7de93786971bb74f8648363652cca013145
parent0b3886773c113fe0ad5748d8f5a9d1648fafdee2
ion: ion_system_heap: SetPagePrivate when splitting secure pages

The kgsl driver relies on checking the PagePrivate flag for secure memory.
Commit 471a5dd2373eafe9fd9209a44f284716005335cf ("ion: system_heap:
Add a new allocation method") did not properly set this flag in all cases.
Fix this.

Change-Id: I4f29ee151158cd70a1617d365decc7d3fd8fe6ac
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
drivers/staging/android/ion/ion_system_heap.c