mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
power: wakelock: call __get_wall_to_monotonic() instead of using wall_to_monotonic
Change-Id: I9e9c3b923bf9a22ffd48f80a72050289496e57d8
This commit is contained in:
parent
7ef37e0153
commit
435aacd2a0
|
|
@ -71,7 +71,7 @@ int get_expired_time(struct wake_lock *lock, ktime_t *expire_time)
|
|||
if (timeout > 0)
|
||||
return 0;
|
||||
kt = current_kernel_time();
|
||||
tomono = wall_to_monotonic;
|
||||
tomono = __get_wall_to_monotonic();
|
||||
} while (read_seqretry(&xtime_lock, seq));
|
||||
jiffies_to_timespec(-timeout, &delta);
|
||||
set_normalized_timespec(&ts, kt.tv_sec + tomono.tv_sec - delta.tv_sec,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user