All readers of tsk->[us]timescaled have been converted to the new nsec based cputime type.
Cc: Benjamin Herrenschmidt <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tony Luck <[email protected]> Cc: Wu Fengguang <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> --- include/linux/sched.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 9ce575e..659f068 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1920,19 +1920,6 @@ static inline void task_cputime_t(struct task_struct *t, *stime = nsecs_to_cputime(st); } -static inline void task_cputime_t_scaled(struct task_struct *t, - cputime_t *utimescaled, - cputime_t *stimescaled) -{ - u64 ut, st; - - task_cputime_scaled(t, &ut, &st); - if (utimescaled) - *utimescaled = nsecs_to_cputime(ut); - if (stimescaled) - *stimescaled = nsecs_to_cputime(st); -} - extern void task_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st); extern void thread_group_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st); -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

