device/generic/common
Revision | b8c50ab0595c4a038b13deecb87225d3c9636ac9 (tree) |
---|---|
Time | 2017-06-07 20:00:45 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
KERNEL_CMDLINE: enlarge vmalloc for 32-bit system
Some devices need more vmalloc space to avoid binder failure.
@@ -78,7 +78,7 @@ TARGET_HARDWARE_3D := true | ||
78 | 78 | BOARD_EGL_CFG ?= device/generic/common/gpu/egl_mesa.cfg |
79 | 79 | endif |
80 | 80 | |
81 | -BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive | |
81 | +BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive $(if $(filter true,$(TARGET_USES_64_BIT_BINDER)),,vmalloc=192M) | |
82 | 82 | TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig |
83 | 83 | |
84 | 84 | COMPATIBILITY_ENHANCEMENT_PACKAGE := true |