Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223904
b: refs/heads/master
c: 96a84c2
h: refs/heads/master
v: v3
  • Loading branch information
Don Zickus authored and Ingo Molnar committed Dec 9, 2010
1 parent 1e3701e commit 7637ac2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c6cb1053ad8b61ab9fb50b578d0ffea959f7583
refs/heads/master: 96a84c20d635fb1e98ab92f9fc517c4441f5c424
8 changes: 7 additions & 1 deletion trunk/arch/x86/kernel/apic/hw_nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ u64 hw_nmi_get_sample_period(void)
}
#endif

#ifndef CONFIG_HARDLOCKUP_DETECTOR
void touch_nmi_watchdog(void)
{
touch_softlockup_watchdog();
}
EXPORT_SYMBOL(touch_nmi_watchdog);
#endif
#ifdef arch_trigger_all_cpu_backtrace

/* For reliability, we're prepared to waste bits here. */
static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly;

Expand Down
4 changes: 3 additions & 1 deletion trunk/include/linux/nmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
*/
#ifdef ARCH_HAS_NMI_WATCHDOG
#include <asm/nmi.h>
#endif
extern void touch_nmi_watchdog(void);
#else
#ifndef CONFIG_HARDLOCKUP_DETECTOR
static inline void touch_nmi_watchdog(void)
{
Expand All @@ -25,6 +26,7 @@ static inline void touch_nmi_watchdog(void)
#else
extern void touch_nmi_watchdog(void);
#endif
#endif

/*
* Create trigger_all_cpu_backtrace() out of the arch-provided
Expand Down

0 comments on commit 7637ac2

Please sign in to comment.