watchdog: Fix section mismatch and potential undefined behavior.
commit433039e97f672b81e6c8f6daef385dcf035c6e29
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 5 Nov 2010 23:17:39 +0000 (5 16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2010 00:45:35 +0000 (5 17:45 -0700)
tree0b4b181cf1db4019ae34dccc49e06945e4df117b
parent4b4a2700f462102569b407102c60d3b9cf4432a0
watchdog: Fix section mismatch and potential undefined behavior.

Commit d9ca07a05ce1 ("watchdog: Avoid kernel crash when disabling
watchdog") introduces a section mismatch.

Now that we reference no_watchdog from non-__init code it can no longer
be __initdata.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/watchdog.c