Re: [PATCH] watchdog: Fix watchdog_nmi_enable_all()

From: Andrew Morton
Date: Wed Apr 22 2015 - 16:12:09 EST


On Wed, 22 Apr 2015 10:47:49 -0400 Don Zickus <dzickus@xxxxxxxxxx> wrote:

> From: Ulrich Obergfell <uobergfe@xxxxxxxxxx>
>
> The 'watchdog_user_enabled' variable is only used as an 'interface'
> to the /proc/sys/kernel/watchdog parameter. The actual state of the
> watchdog is tracked by bits in the 'watchdog_enabled' variable. So,
> watchdog_nmi_enable_all() should check the NMI_WATCHDOG_ENABLED bit
> in 'watchdog_enabled'.

What are the user-visible effects of the patch? Please always include
this information when fixing a bug.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/