Merge 2a4c372675 on remote branch

Change-Id: Ie5391e861ea7c100844b9c40d12554916889a8e6
This commit is contained in:
Linux Build Service Account
2022-12-22 02:02:18 -08:00

View File

@@ -73,7 +73,7 @@
#define USE_SYSTEM_HEAP_FOR_SENSORS GRALLOC_PROP("use_system_heap_for_sensors")
#define ROUND_UP_PAGESIZE(x) roundUpToPageSize(x)
inline int roundUpToPageSize(int x) {
inline size_t roundUpToPageSize(size_t x) {
return (x + (getpagesize() - 1)) & ~(getpagesize() - 1);
}