Re: [PATCH 2/5] watchdog: move watchdog_disable_all_cpus() outside of ifdef
From: Andrew Morton
Date: Tue Sep 29 2015 - 19:37:53 EST
On Mon, 28 Sep 2015 22:44:09 +0200 Ulrich Obergfell <uobergfe@xxxxxxxxxx> wrote:
> It makes sense to place watchdog_{dis|enable}_all_cpus() outside of
> the ifdef so that _both_ are available even if CONFIG_SYSCTL is not
> defined.
Not really. With CONFIG_SYSCTL=n this change will cause a compile
warning and will bloat up vmlinux.
I'll rewrite the changelog to
: Move watchdog_disable_all_cpus() outside of the ifdef so that it is
: available if CONFIG_SYSCTL is not defined. This is preparation for
: "watchdog: implement error handling in update_watchdog_all_cpus() and
: callers".
--
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/