提交 35c35d1a 编写于 作者: D Daniel Walker 提交者: Linus Torvalds

clocksource: spelling error in watchdog code

There's more that need fixing, and fix my own subject spelling error too.
Signed-off-by: NDaniel Walker <dwalker@mvista.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 18d8362d
...@@ -75,14 +75,14 @@ static struct timer_list watchdog_timer; ...@@ -75,14 +75,14 @@ static struct timer_list watchdog_timer;
static DEFINE_SPINLOCK(watchdog_lock); static DEFINE_SPINLOCK(watchdog_lock);
static cycle_t watchdog_last; static cycle_t watchdog_last;
/* /*
* Interval: 0.5sec Treshold: 0.0625s * Interval: 0.5sec Threshold: 0.0625s
*/ */
#define WATCHDOG_INTERVAL (HZ >> 1) #define WATCHDOG_INTERVAL (HZ >> 1)
#define WATCHDOG_TRESHOLD (NSEC_PER_SEC >> 4) #define WATCHDOG_THRESHOLD (NSEC_PER_SEC >> 4)
static void clocksource_ratewd(struct clocksource *cs, int64_t delta) static void clocksource_ratewd(struct clocksource *cs, int64_t delta)
{ {
if (delta > -WATCHDOG_TRESHOLD && delta < WATCHDOG_TRESHOLD) if (delta > -WATCHDOG_THRESHOLD && delta < WATCHDOG_THRESHOLD)
return; return;
printk(KERN_WARNING "Clocksource %s unstable (delta = %Ld ns)\n", printk(KERN_WARNING "Clocksource %s unstable (delta = %Ld ns)\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册