clocksource: spelling error in watchdog code
PATCH 1/1 clocksource: spelling error in watchdog code
Theres more that need fixing , and fix my own subject spelling error too.
Signed-off-by Daniel Walker <[email protected]>
--- kernel/time/clocksource.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/time/clocksource.c +3 -3
@@ -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",
Signature · 1 line
--