Thread (47 messages) 47 messages, 3 authors, 2023-05-19

[PATCH v4 02/17] watchdog: remove WATCHDOG_DEFAULT

flat view
STALE1240d REVIEWED: 4 (4M)

From: Douglas Anderson <dianders@chromium.org>
Date: 2023-05-04 22:16:05
Also in: linux-arm-kernel, linux-perf-users, sparclinux
Subsystem: the rest · Maintainer: Linus Torvalds

Revision v4 of 2 in this series; 1 review trailer.

Revisions (2)
  1. v4 current
  2. v5 [diff vs current]
From: Lecopzer Chen <redacted>

No reference to WATCHDOG_DEFAULT, remove it.

Signed-off-by: Pingfan Liu <redacted>
Signed-off-by: Lecopzer Chen <redacted>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
I yanked this patch from the mailing lists [1] into my series just to
make it easier to avoid conflicts between my series and the one adding
the arm64 perf hardlockup detector, in case someone wanted to test
them both together. This is a nice cleanup and could land together
with the rest of my series if that makes sense.

I changed the patch prefix to match others in my series.

[1] https://lore.kernel.org/r/20220903093415.15850-2-lecopzer.chen@mediatek.com/ (local)

Changes in v4:
- Pulled ("remove WATCHDOG_DEFAULT") into my series for v4.

 kernel/watchdog.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 8e61f21e7e33..582d572e1379 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -30,10 +30,8 @@
 static DEFINE_MUTEX(watchdog_mutex);
 
 #if defined(CONFIG_HARDLOCKUP_DETECTOR) || defined(CONFIG_HAVE_NMI_WATCHDOG)
-# define WATCHDOG_DEFAULT	(SOFT_WATCHDOG_ENABLED | NMI_WATCHDOG_ENABLED)
 # define NMI_WATCHDOG_DEFAULT	1
 #else
-# define WATCHDOG_DEFAULT	(SOFT_WATCHDOG_ENABLED)
 # define NMI_WATCHDOG_DEFAULT	0
 #endif
 
-- 
2.40.1.521.gf1e218fcd8-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help