From: Tomas Hruby Date: Sun, 19 Sep 2010 23:23:44 +0000 (+0000) Subject: Fixed comments in watchdog X-Git-Tag: v3.2.0~828 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/soc.html?a=commitdiff_plain;h=08bf4dec4f3559bd5e1e7c79bd7f8324aef4123b;p=minix.git Fixed comments in watchdog --- diff --git a/kernel/arch/i386/arch_watchdog.c b/kernel/arch/i386/arch_watchdog.c index 8fce5c2dc..3c454d6ce 100644 --- a/kernel/arch/i386/arch_watchdog.c +++ b/kernel/arch/i386/arch_watchdog.c @@ -65,7 +65,7 @@ int arch_watchdog_init(void) _cpuid(&eax, &ebx, &ecx, &edx); - /* FIXME currently we support only watchdog base on the intel + /* FIXME currently we support only watchdog based on the intel * architectural performance counters. Some Intel CPUs don't have this * feature */ @@ -76,7 +76,7 @@ int arch_watchdog_init(void) watchdog = &intel_arch_watchdog; - /* Setup PC tas NMI for watchdog, is is masked for now */ + /* Setup PC overflow as NMI for watchdog, it is masked for now */ lapic_write(LAPIC_LVTPCR, APIC_ICR_INT_MASK | APIC_ICR_DM_NMI); (void) lapic_read(LAPIC_LVTPCR);