Skip to contentSkip to conversation

kernel-watchdog-fix-watchdog_allowed_mask-not-used-warning.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 16, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: kernel/watchdog: fix watchdog_allowed_mask not used warning
has been removed from the -mm tree. Its filename was
kernel-watchdog-fix-watchdog_allowed_mask-not-used-warning.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Santosh Sivaraj <[email protected]>
Subject: kernel/watchdog: fix watchdog_allowed_mask not used warning

Define watchdog_allowed_mask only when SOFTLOCKUP_DETECTOR is enabled.

Fixes 7feeb9cd4f5b ("watchdog/sysctl: Clean up sysctl variable name space")
Cc Thomas Gleixner <[email protected]>

---

 kernel/watchdog.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/watchdog.c renamed from kernel/watchdog.c~kernel-watchdog-fix-watchdog_allowed_mask-not-used-warning +2 -2
@@ -44,8 +44,6 @@ int __read_mostly soft_watchdog_user_ena
 int __read_mostly watchdog_thresh = 10;
 static int __read_mostly nmi_watchdog_available;
 
-static struct cpumask watchdog_allowed_mask __read_mostly;
-
 struct cpumask watchdog_cpumask __read_mostly;
 unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask);
 
@@ -162,6 +160,8 @@ static void lockup_detector_update_enabl
 int __read_mostly sysctl_softlockup_all_cpu_backtrace;
 #endif
 
+static struct cpumask watchdog_allowed_mask __read_mostly;
+
 /* Global variables, exported for sysctl */
 unsigned int __read_mostly softlockup_panic =
 			CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE;

_

Patches currently in -mm which might be from [email protected] are