Change-Id: Ic6c261ea13e1a85086a15376ad360deb05f5d6cd
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
/* If event occurs in debounce time, lower level event is ignored. */
gettimeofday(¤t, NULL);
- current_msec = current.tv_sec * 1000 + current.tv_usec / 1000;
+ current_msec = (u_int64_t)current.tv_sec * 1000 + current.tv_usec / 1000;
if (current_msec - sysdata->memory_pressure_last_update < PSI_EVENT_DEBOUNCE_TIME
&& memory_pressure_level <= sysdata->memory_pressure_level)
return;