Skip to content

Commit

Permalink
posix-cpu-timers: Remove the odd field rename defines
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Gleixner committed Aug 28, 2019
1 parent c02b078 commit bbc9bae
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/linux/posix-timers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbc9bae

Please sign in to comment.