diff options
author | Daniel Walker <dwalker@mvista.com> | 2007-05-09 05:33:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 15:30:49 -0400 |
commit | 35c35d1afa8f9afe01d922ff9668a14c5d879b02 (patch) | |
tree | 5134d8447f5d25e8c8c32c7ed6f4cb0cd97c9da8 /kernel | |
parent | 18d8362d517cb2bd97761294924fe6c2a6ee5e3c (diff) |
clocksource: spelling error in watchdog code
There's more that need fixing, and fix my own subject spelling error too.
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/clocksource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index fe5c7db24247..db0c725de5ea 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c | |||
@@ -75,14 +75,14 @@ static struct timer_list watchdog_timer; | |||
75 | static DEFINE_SPINLOCK(watchdog_lock); | 75 | static DEFINE_SPINLOCK(watchdog_lock); |
76 | static cycle_t watchdog_last; | 76 | static cycle_t watchdog_last; |
77 | /* | 77 | /* |
78 | * Interval: 0.5sec Treshold: 0.0625s | 78 | * Interval: 0.5sec Threshold: 0.0625s |
79 | */ | 79 | */ |
80 | #define WATCHDOG_INTERVAL (HZ >> 1) | 80 | #define WATCHDOG_INTERVAL (HZ >> 1) |
81 | #define WATCHDOG_TRESHOLD (NSEC_PER_SEC >> 4) | 81 | #define WATCHDOG_THRESHOLD (NSEC_PER_SEC >> 4) |
82 | 82 | ||
83 | static void clocksource_ratewd(struct clocksource *cs, int64_t delta) | 83 | static void clocksource_ratewd(struct clocksource *cs, int64_t delta) |
84 | { | 84 | { |
85 | if (delta > -WATCHDOG_TRESHOLD && delta < WATCHDOG_TRESHOLD) | 85 | if (delta > -WATCHDOG_THRESHOLD && delta < WATCHDOG_THRESHOLD) |
86 | return; | 86 | return; |
87 | 87 | ||
88 | printk(KERN_WARNING "Clocksource %s unstable (delta = %Ld ns)\n", | 88 | printk(KERN_WARNING "Clocksource %s unstable (delta = %Ld ns)\n", |