Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d2cb0e6ecbe0ef93ab36631cd17ec6cf92b69c5a
Commit:     d2cb0e6ecbe0ef93ab36631cd17ec6cf92b69c5a
Parent:     69d39d6669a01e26ae6dbf5c3e84e0d1b6ccf332
Author:     Christian Borntraeger <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 5 11:10:14 2007 +0100
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Mon Nov 5 11:10:18 2007 +0100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>
---
 arch/s390/kernel/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c
index 48dae49..a963fe8 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,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to