From 08bf4dec4f3559bd5e1e7c79bd7f8324aef4123b Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Sun, 19 Sep 2010 23:23:44 +0000 Subject: [PATCH] Fixed comments in watchdog --- kernel/arch/i386/arch_watchdog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.44.0