projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e85f59
)
sparc64: Make touch_nmi_watchdog() actually work.
author
David S. Miller
<davem@davemloft.net>
Wed, 9 Sep 2009 06:29:16 +0000
(23:29 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 9 Sep 2009 06:29:16 +0000
(23:29 -0700)
It guards it's actions on nmi_watchdog_active, but nothing ever
sets that and it's initial value is zero.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/nmi.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/nmi.c
b/arch/sparc/kernel/nmi.c
index d1614e8384ae2d93da5e034a2fac9911a70a6923..47a465fe3c388e3ab2bafc3f9b1d18a0373c1a82 100644
(file)
--- a/
arch/sparc/kernel/nmi.c
+++ b/
arch/sparc/kernel/nmi.c
@@
-31,7
+31,6
@@
* level 14 as our IRQ off level.
*/
-static int nmi_watchdog_active;
static int panic_on_timeout;
/* nmi_active:
@@
-52,7
+51,7
@@
static DEFINE_PER_CPU(int, nmi_touch);
void touch_nmi_watchdog(void)
{
- if (
nmi_watchdog_active
) {
+ if (
atomic_read(&nmi_active)
) {
int cpu;
for_each_present_cpu(cpu) {