MEM_LEVEL_LOW is missing in lowmem_register_mem_level_controller(),
so currently controller of MEM_LEVEL_LOW is always NULL.
It causes SIGABRT when memory level is MEM_LEVEL_LOW.
To fix the problem, add MEM_LEVEL_LOW in lowmem_register_mem_level_controller()
Change-Id: I2bec09b0944f9f0b33c8fa5487b7204a6fc1a305
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
switch (mem_state) {
case MEM_LEVEL_HIGH:
case MEM_LEVEL_MEDIUM:
+ case MEM_LEVEL_LOW:
case MEM_LEVEL_CRITICAL:
case MEM_LEVEL_OOM:
mem_level_ops_list[mem_state].controller = controller;