aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/posix-timers.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-21 21:09:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-08-28 11:50:38 +0200
commit46b883995c88520f2c4de6a64cccc04c69d59f83 (patch)
tree2d1c9520183af260cd350a75d1f11de85de4445f /include/linux/posix-timers.h
parentposix-cpu-timers: Make expiry checks array based (diff)
downloadlinux-dev-46b883995c88520f2c4de6a64cccc04c69d59f83.tar.xz
linux-dev-46b883995c88520f2c4de6a64cccc04c69d59f83.zip
posix-cpu-timers: Remove cputime_expires
The last users of the magic struct cputime based expiry cache are gone. Remove the leftovers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lkml.kernel.org/r/20190821192921.790209622@linutronix.de
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r--include/linux/posix-timers.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h
index e36c6fda1af9..fd9098467d6d 100644
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -65,19 +65,14 @@ static inline int clockid_to_fd(const clockid_t clk)
#ifdef CONFIG_POSIX_TIMERS
/**
* posix_cputimers - Container for posix CPU timer related data
- * @cputime_expires: Earliest-expiration cache task_cputime based
* @expiries: Earliest-expiration cache array based
* @cpu_timers: List heads to queue posix CPU timers
*
* Used in task_struct and signal_struct
*/
struct posix_cputimers {
- /* Temporary union until all users are cleaned up */
- union {
- struct task_cputime cputime_expires;
- u64 expiries[CPUCLOCK_MAX];
- };
- struct list_head cpu_timers[CPUCLOCK_MAX];
+ u64 expiries[CPUCLOCK_MAX];
+ struct list_head cpu_timers[CPUCLOCK_MAX];
};
static inline void posix_cputimers_init(struct posix_cputimers *pct)