diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-11-10 10:38:52 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-11-14 16:29:53 +0100 |
| commit | c42ba5a87bdccbca11403b7ca8bad1a57b833732 (patch) | |
| tree | 5feda48e1f975f6c7c8c94b71088f9c1e03a3c31 /include/linux | |
| parent | cd91b502f1b4bb81e82fbae38678c698ee5ac026 (diff) | |
futex: Store time as ktime_t in restart block
The futex core uses ktime_t to represent times, use that also for the
restart block.
This allows the simplification of the accessors.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20251110-restart-block-expiration-v1-2-5d39cc93df4f@linutronix.de
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/restart_block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h index 7e50bbc94e47..4f9316e7590d 100644 --- a/include/linux/restart_block.h +++ b/include/linux/restart_block.h @@ -32,7 +32,7 @@ struct restart_block { u32 val; u32 flags; u32 bitset; - u64 time; + ktime_t time; u32 __user *uaddr2; } futex; /* For nanosleep */ |
