Skip to content
Commit e7e04615 authored by Santosh Sivaraj's avatar Santosh Sivaraj Committed by Linus Torvalds
Browse files

kernel/watchdog: fix watchdog_allowed_mask not used warning



Define watchdog_allowed_mask only when SOFTLOCKUP_DETECTOR is enabled.

Fixes: 7feeb9cd ("watchdog/sysctl: Clean up sysctl variable name space")
Signed-off-by: default avatarSantosh Sivaraj <santosh@fossix.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20201106015025.1281561-1-santosh@fossix.org


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent df5b0ab3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment