]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: Fix section mismatch and potential undefined behavior.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 5 Nov 2010 23:17:39 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2010 00:45:35 +0000 (17:45 -0700)
commit89a9a8fe706fb5772bfea3f45c9763a380e0be8c
tree0b4b181cf1db4019ae34dccc49e06945e4df117b
parent87c4917135c9e5e4dfd3eda9b1de5f33f5c8bc89
watchdog: Fix section mismatch and potential undefined behavior.

Commit abf6c2cde0ca ("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