mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-06 11:59:06 +07:00
time: Remove timekeeping_inject_sleeptime()
Since all users have been converted to using the 64bit timekeeping_inject_sleeptime64(), remove the old y2038 problematic timekeeping_inject_sleeptime(). Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
d4bda8f843
commit
21b6c0512e
@ -225,17 +225,6 @@ static inline void timekeeping_clocktai(struct timespec *ts)
|
||||
*/
|
||||
extern void timekeeping_inject_sleeptime64(struct timespec64 *delta);
|
||||
|
||||
/**
|
||||
* Deprecated. Use timekeeping_inject_sleeptime64().
|
||||
*/
|
||||
static inline void timekeeping_inject_sleeptime(struct timespec *delta)
|
||||
{
|
||||
struct timespec64 delta64;
|
||||
|
||||
delta64 = timespec_to_timespec64(*delta);
|
||||
timekeeping_inject_sleeptime64(&delta64);
|
||||
}
|
||||
|
||||
/*
|
||||
* PPS accessor
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user