projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc72ae
)
WIP hide watchdog_output_lock under CONFIG_HARDLOCKUP_DETECTOR_NMI
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 23 Feb 2022 10:06:51 +0000
(11:06 +0100)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 23 Feb 2022 10:06:51 +0000
(11:06 +0100)
Change-Id: I56c28213e011d6f2cf6a69c0647a79874d34331d
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
kernel/watchdog_hld.c
patch
|
blob
|
history
diff --git
a/kernel/watchdog_hld.c
b/kernel/watchdog_hld.c
index 4ef821b1a5e1ab3acada852ddf22ad8964e38192..bd4f0b4093c24fae65c89c056f8704a8e248c0ab 100644
(file)
--- a/
kernel/watchdog_hld.c
+++ b/
kernel/watchdog_hld.c
@@
-23,10
+23,10
@@
static cpumask_t __read_mostly watchdog_cpus;
#endif
#ifdef CONFIG_HARDLOCKUP_DETECTOR_NMI
static DEFINE_PER_CPU(struct perf_event *, watchdog_ev);
+static DEFINE_RAW_SPINLOCK(watchdog_output_lock);
#endif
DECLARE_PER_CPU(unsigned long, hrtimer_interrupts);
DECLARE_PER_CPU(unsigned long, hrtimer_interrupts_saved);
-static DEFINE_RAW_SPINLOCK(watchdog_output_lock);
/* boot commands */
/*