x86/NMI: allow passing just "watchdog" again

This capability got inadvertently lost in commit 3ea2ba980a ("x86/NMI:
allow processing unknown NMIs when watchdog is enabled") due to an
oversight of mine.

Reported-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2014-09-03 15:09:59 +02:00
1 parent df0ae94fd5
commit fd553ae5f0
1 file changed
+6
+6
View File
@@ -49,6 +49,12 @@ bool_t watchdog_force = 0;
static void __init parse_watchdog(char *s)
{
if ( !*s )
{
opt_watchdog = 1;
return;
}
switch ( parse_bool(s) )
{
case 0:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.