]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c40f20f548ad0ba1a0f04ab6d87530db89ee2e8
treebce49bbca194dbcd1dc972248723925d764ed989
parent7e3c1f975accbd08c38ef5b186033331f6fcfce0
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