]> git.baikalelectronics.ru Git - kernel.git/commit
delayacct: Remove braindamaged type conversions
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:37 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 17:18:06 +0000 (10:18 -0700)
commit142fda790af567a5ba0c989b63b64243881a5a52
treeb6e9e2b8aeaca7acbc425ae286a599d21882eeb2
parent6aaf019b0a76dca3cf82a4be8c62025417955cb1
delayacct: Remove braindamaged type conversions

Converting cputime to timespec and timespec to nanoseconds makes no
sense. Use cputime_to_ns() and be done with it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/delayacct.c