]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2
authorJan Moskyto Matejka <mq@suse.cz>
Thu, 22 May 2014 00:54:31 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 May 2014 06:58:39 +0000 (16:58 +1000)
commit06a55d7a33e482ec5f4dec3b51ae572ef36f13aa
tree29935af55de156b776cb8d20dc20f9ee08fefeda
parente9a570c7d04a223abad54446100a22a6ff5f0c9b
kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2

This commit fixes this warning:

kernel/watchdog.c: In function `watchdog_timer_fn':
kernel/watchdog.c:368:4: warning: `smp_mb__after_clear_bit' is deprecated (declared at include/linux/bitops.h:48) [-Wdeprecated-declarations]
    smp_mb__after_clear_bit();

That code was introduced in commit 90e6b763ca8a5eb739e59489f42d45e13431d157
("kernel/watchdog.c: print traces for all cpus on lockup detection") and then
merged with another branch containing commit
febdbfe8a91ce0d11939d4940b592eb0dba8d663 ("arch: Prepare for
smp_mb__{before,after}_atomic()") which deprecates the
smp_mb__after_clear_bit() call in favour of smp_mb__after_atomic().

Signed-off-by: Jan Moskyto Matejka <mq@suse.cz>
Acked-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/watchdog.c