hangcheck-timer: Use ktime_get_ns()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:05:03 +0000 (21:05 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 22:01:49 +0000 (15:01 -0700)
commit2044fdb03eb4e511d5028be0917899931f17461f
tree69e1a9a8f27e1242f83c5a4569af39794f040e54
parent61edec81d260bc96a73c878bbdb4c614460346da
hangcheck-timer: Use ktime_get_ns()

There is no point in having a S390 private implementation and there is
no point in using the raw monotonic time. The NTP freqeuency
adjustment of CLOCK_MONOTONIC is really not doing any harm for the
hang check timer.

Use ktime_get_ns() for everything and get rid of the timespec
conversions.

V2: Drop the raw monotonic and the S390 special case

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/char/hangcheck-timer.c