posix-cpu-timers: Get rid of 64bit divisions
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:09:21 +0000 (21:09 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:41 +0000 (11:50 +0200)
commit8ea1de90a5eccdc18c8f05f8596bae8660a3ff9a
treebce49bbca194dbcd1dc972248723925d764ed989
parent1cd07c0b94f2c320270d76edb7dd49bceb09c1df
posix-cpu-timers: Get rid of 64bit divisions

Instead of dividing A to match the units of B it's more efficient to
multiply B to match the units of A.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192922.458286860@linutronix.de
kernel/time/posix-cpu-timers.c