aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2007-11-05 05:10:14 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-11-05 05:10:18 -0500
commitd2cb0e6ecbe0ef93ab36631cd17ec6cf92b69c5a (patch)
tree029b4ace47d18e0f8ac1e29db7961d9a28804e03 /arch/s390
parent69d39d6669a01e26ae6dbf5c3e84e0d1b6ccf332 (diff)
[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>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c
index 48dae49bc1ec..a963fe81359e 100644
--- a/arch/s390/kernel/time.c
+++ b/arch/s390/kernel/time.c
@@ -307,7 +307,7 @@ static cycle_t read_tod_clock(void)
307 307
308static struct clocksource clocksource_tod = { 308static struct clocksource clocksource_tod = {
309 .name = "tod", 309 .name = "tod",
310 .rating = 100, 310 .rating = 400,
311 .read = read_tod_clock, 311 .read = read_tod_clock,
312 .mask = -1ULL, 312 .mask = -1ULL,
313 .mult = 1000, 313 .mult = 1000,