]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] correct ktime to tod clock comparator conversion
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 17 Feb 2012 09:29:23 +0000 (10:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 17 Feb 2012 09:29:33 +0000 (10:29 +0100)
commitcf1eb40f8f5ea12c9e569e7282161fc7f194fd62
tree768a78bd496b7a385bd2b05d5dde4563c84728cd
parent656d9125376006cf696b0836f1c6723a892629ca
[S390] correct ktime to tod clock comparator conversion

The conversion of the ktime to a value suitable for the clock comparator
does not take changes to wall_to_monotonic into account. In fact the
conversion just needs the boot clock (sched_clock_base_cc) and the
total_sleep_time.

This is applicable to 3.2+ kernels.

CC: stable@vger.kernel.org
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/time.c