From: Christian Borntraeger Date: Mon, 5 Nov 2007 10:10:14 +0000 (+0100) Subject: [S390] tod clock: announce clocksource as perfect X-Git-Tag: v2.6.24-rc2~32^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2cb0e6ecbe0ef93ab36631cd17ec6cf92b69c5a;p=linux-2.6 [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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 48dae49bc1..a963fe8135 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c @@ -307,7 +307,7 @@ static cycle_t read_tod_clock(void) static struct clocksource clocksource_tod = { .name = "tod", - .rating = 100, + .rating = 400, .read = read_tod_clock, .mask = -1ULL, .mult = 1000,