aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-08-13 13:44:04 -0400
committerJason Wessel <jason.wessel@windriver.com>2010-10-22 16:34:10 -0400
commitfb70b5888b70b0b50f738fbfc019445493112eb1 (patch)
treeee35bfc0e78af0702756d15e05ed09f0f56e18ac /kernel/debug
parent16cdc628c3aed47d02205135b7e2f01e0064f566 (diff)
debug_core: stop rcu warnings on kernel resume
When returning from the kernel debugger reset the rcu jiffies_stall value to prevent the rcu stall detector from sending NMI events which invoke a stack dump for each cpu in the system. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
-rw-r--r--kernel/debug/debug_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index c812857d0b80..5a3b04d20497 100644
--- a/kernel/debug/debug_core.c
+++ b/kernel/debug/debug_core.c
@@ -47,6 +47,7 @@
47#include <linux/pid.h> 47#include <linux/pid.h>
48#include <linux/smp.h> 48#include <linux/smp.h>
49#include <linux/mm.h> 49#include <linux/mm.h>
50#include <linux/rcupdate.h>
50 51
51#include <asm/cacheflush.h> 52#include <asm/cacheflush.h>
52#include <asm/byteorder.h> 53#include <asm/byteorder.h>
@@ -474,6 +475,7 @@ static void dbg_touch_watchdogs(void)
474{ 475{
475 touch_softlockup_watchdog_sync(); 476 touch_softlockup_watchdog_sync();
476 clocksource_touch_watchdog(); 477 clocksource_touch_watchdog();
478 rcu_cpu_stall_reset();
477} 479}
478 480
479static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs) 481static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs)