aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/posix-timers.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-21 21:09:11 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-08-28 11:50:37 +0200
commitbbc9bae1e49bee9862c7f24101a728e73cd9f589 (patch)
tree12f2e0c69f7ff54a0bb1f2ecff5e393a264903f6 /include/linux/posix-timers.h
parentposix-cpu-timers: Switch check_*_timers() to array cache (diff)
downloadlinux-dev-bbc9bae1e49bee9862c7f24101a728e73cd9f589.tar.xz
linux-dev-bbc9bae1e49bee9862c7f24101a728e73cd9f589.zip
posix-cpu-timers: Remove the odd field rename defines
The last users of the odd define based renaming of struct task_cputime members are gone. Good riddance. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lkml.kernel.org/r/20190821192921.499058279@linutronix.de
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r--include/linux/posix-timers.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h
index ed0f6ec30aa6..e36c6fda1af9 100644
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -62,21 +62,6 @@ static inline int clockid_to_fd(const clockid_t clk)
return ~(clk >> 3);
}
-/*
- * Alternate field names for struct task_cputime when used on cache
- * expirations. Will go away soon.
- *
- * stime corresponds to CLOCKCPU_PROF
- * utime corresponds to CLOCKCPU_VIRT
- * sum_exex_runtime corresponds to CLOCKCPU_SCHED
- *
- * The ordering is currently enforced so struct task_cputime and the
- * expiries array in struct posix_cputimers are equivalent.
- */
-#define prof_exp stime
-#define virt_exp utime
-#define sched_exp sum_exec_runtime
-
#ifdef CONFIG_POSIX_TIMERS
/**
* posix_cputimers - Container for posix CPU timer related data