public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clocksource: spelling error in watchdog code
@ 2007-05-08 16:18 Daniel Walker
  0 siblings, 0 replies; only message in thread
From: Daniel Walker @ 2007-05-08 16:18 UTC (permalink / raw)
  To: akpm; +Cc: tglx, linux-kernel

Theres more that need fixing , and fix my own subject spelling
error too.

Signed-Off-By: Daniel Walker <dwalker@mvista.com>

---
 kernel/time/clocksource.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.21/kernel/time/clocksource.c
===================================================================
--- linux-2.6.21.orig/kernel/time/clocksource.c
+++ linux-2.6.21/kernel/time/clocksource.c
@@ -77,14 +77,14 @@ static cycle_t watchdog_last;
 static int watchdog_resumed;
 
 /*
- * Interval: 0.5sec Treshold: 0.0625s
+ * Interval: 0.5sec Threshold: 0.0625s
  */
 #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)
 {
-	if (delta > -WATCHDOG_TRESHOLD && delta < WATCHDOG_TRESHOLD)
+	if (delta > -WATCHDOG_THRESHOLD && delta < WATCHDOG_THRESHOLD)
 		return;
 
 	printk(KERN_WARNING "Clocksource %s unstable (delta = %Ld ns)\n",
-- 

-- 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-08 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 16:18 [PATCH] clocksource: spelling error in watchdog code Daniel Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox