watchdog: Fix section missmatch and potential undefined behavior.
PATCH 1/1 watchdog: Fix section missmatch and potential undefined behavior.
Commit d9ca07a05ce1c42ac9717e54eaea4546a3a80978 introduces the section missmatch. Now that we reference no_watchdog from non-__init code it can no longer be __initdata.
Signed-off-by David Daney <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
--- kernel/watchdog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/watchdog.c +1 -1
@@ -43,7 +43,7 @@ static DEFINE_PER_CPU(unsigned long, hrtimer_interrupts_saved); static DEFINE_PER_CPU(struct perf_event *, watchdog_ev);#endif -static int __initdata no_watchdog; +static int no_watchdog;/* boot commands */
Signature · 1 line
1.7.2.3