diff options
author | Thomas Gleixner <[email protected]> | 2024-06-10 18:42:16 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2024-07-29 21:57:34 +0200 |
commit | 1c5028425793ea98fcb403852331664662d97226 (patch) | |
tree | 40ed2da207a044834c6f28c5a46b4c77181852d3 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | b3e866b2dffbc36b31be7811ebded91ce82ecd10 (diff) |
posix-cpu-timers: Handle interval timers correctly in timer_get()
timer_gettime() must return the remaining time to the next expiry of a
timer or 0 if the timer is not armed and no signal pending, but posix CPU
timers fail to forward a timer which is already expired.
Add the required logic to address that.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions