]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] tod clock: announce clocksource as perfect
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 5 Nov 2007 10:10:14 +0000 (11:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Nov 2007 10:10:18 +0000 (11:10 +0100)
commit2fb0ad96bf5af9aefce6b6a2f57854759b7f4239
tree029b4ace47d18e0f8ac1e29db7961d9a28804e03
parent3735d9a14e8cfa343b36dbb02a9be3a9903714de
[S390] tod clock: announce clocksource as perfect

The Time of Day clock is the standard time source for s390. It is
- monotonic
- allows very fast reading
- architecture guarantees at least microsecond stepping
- available as part of the architecture

We should announce the rate of tod as 400 to be in sync with the
description found in clocksource.h:
"400-499:Perfect The ideal clocksource. A must-use where available."

This change will prefer tod over less reliable clock sources.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/time.c