]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed comments in watchdog
authorTomas Hruby <tom@minix3.org>
Sun, 19 Sep 2010 23:23:44 +0000 (23:23 +0000)
committerTomas Hruby <tom@minix3.org>
Sun, 19 Sep 2010 23:23:44 +0000 (23:23 +0000)
kernel/arch/i386/arch_watchdog.c

index 8fce5c2dcc56bcb15084715a47f1a8d53f119a6a..3c454d6ce1d10413e21f4d9a39371c316c0004e9 100644 (file)
@@ -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);