From: Cyrill Gorcunov Date: Thu, 12 Jun 2008 13:08:16 +0000 (+0400) Subject: x86: touch_nmi_watchdog(): reset alert counters for supported nmi_watchdog modes... X-Git-Tag: v2.6.27-rc1~1106^2~245^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f781b03c4b1c713ac000877c8bbc31fc4164a29b;p=pandora-kernel.git x86: touch_nmi_watchdog(): reset alert counters for supported nmi_watchdog modes only The checking 'if nmi_watchdog > 0' (ie NMI_NONE) is quite fast but it has a side effect - it's taken even if nmi_watchdog = NMI_DISABLED. Nowadays nmi_watchdog is set up to NMI_NONE by default so this condition is properly taken most the time but we better show this explicitly. Signed-off-by: Cyrill Gorcunov Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed