jiffies: Revert bogus conversion of NSEC_PER_SEC to TICK_NSEC
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 7 Mar 2017 09:55:34 +0000 (10:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 7 Mar 2017 10:03:28 +0000 (11:03 +0100)
commitfa3aa7a54fe6d3abf128f13cd4bbd40eaa48fed2
tree616a9d40a03689da27bcee48a87b9dd237cfce39
parent25b68a8f0ab13a98de02650208ec927796659898
jiffies: Revert bogus conversion of NSEC_PER_SEC to TICK_NSEC

commit 93825f2ec736 converted NSEC_PER_SEC to TICK_NSEC because the author
confused NSEC_PER_JIFFY with NSEC_PER_SEC.

As a result, the calculation of refined jiffies got broken, triggering
lockups.

Fixes: 93825f2ec736 ("jiffies: Reuse TICK_NSEC instead of NSEC_PER_JIFFY")
Reported-and-tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1488880534-3777-1-git-send-email-fweisbec@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/jiffies.c