diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2016-11-15 03:06:50 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-11-15 09:51:04 +0100 |
commit | 981ee2d444408fc55b9390d6a4a54a6697513611 (patch) | |
tree | b1ff734057ac871c1da2e21bd9590387fc922d7a /arch | |
parent | 7008eb997bcfdd8c5274bb6672aa5d4e77994309 (diff) | |
download | linux-981ee2d444408fc55b9390d6a4a54a6697513611.tar.gz linux-981ee2d444408fc55b9390d6a4a54a6697513611.tar.bz2 linux-981ee2d444408fc55b9390d6a4a54a6697513611.zip |
sched/cputime, powerpc: Remove cputime_to_scaled()
Currently cputime_to_scaled() just return it's argument on
all implementations, we don't need to call this function.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Neuling <mikey@neuling.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1479175612-14718-3-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/include/asm/cputime.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/cputime.h b/arch/powerpc/include/asm/cputime.h index 9f5dcf73b608..aa2e6a34b872 100644 --- a/arch/powerpc/include/asm/cputime.h +++ b/arch/powerpc/include/asm/cputime.h @@ -52,13 +52,6 @@ static inline unsigned long cputime_to_jiffies(const cputime_t ct) return mulhdu((__force u64) ct, __cputime_jiffies_factor); } -/* Estimate the scaled cputime by scaling the real cputime based on - * the last scaled to real ratio */ -static inline cputime_t cputime_to_scaled(const cputime_t ct) -{ - return ct; -} - static inline cputime_t jiffies_to_cputime(const unsigned long jif) { u64 ct; |