Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295145
b: refs/heads/master
c: d314d74
h: refs/heads/master
i:
  295143: 10f8f60
v: v3
  • Loading branch information
Cong Wang authored and Linus Torvalds committed Mar 23, 2012
1 parent 8b127e4 commit 7c8f9a5
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 12 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: b502bd1152472dc1b98c60434f23c23b280c7b94
refs/heads/master: d314d74c695f967e10598467a326f41c78ed1e20
3 changes: 3 additions & 0 deletions trunk/arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ config HAVE_KRETPROBES

config HAVE_OPTPROBES
bool

config HAVE_NMI_WATCHDOG
bool
#
# An arch should select this if it provides all these things:
#
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ config BLACKFIN
select GENERIC_ATOMIC64
select GENERIC_IRQ_PROBE
select IRQ_PER_CPU if SMP
select HAVE_NMI_WATCHDOG if NMI_WATCHDOG

config GENERIC_CSUM
def_bool y
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/blackfin/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,4 @@

#include <asm-generic/irq.h>

#ifdef CONFIG_NMI_WATCHDOG
# define ARCH_HAS_NMI_WATCHDOG
#endif

#endif /* _BFIN_IRQ_H_ */
1 change: 1 addition & 0 deletions trunk/arch/mn10300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config MN10300
select GENERIC_IRQ_SHOW
select HAVE_ARCH_TRACEHOOK
select HAVE_ARCH_KGDB
select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER

config AM33_2
def_bool n
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/mn10300/include/asm/reset-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

#ifdef __KERNEL__

#ifdef CONFIG_MN10300_WD_TIMER
#define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */
#endif

/*
* watchdog timer registers
*/
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ config SPARC
select GENERIC_IRQ_SHOW
select USE_GENERIC_SMP_HELPERS if SMP
select GENERIC_PCI_IOMAP
select HAVE_NMI_WATCHDOG if SPARC64

config SPARC32
def_bool !64BIT
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sparc/include/asm/irq_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ void arch_trigger_all_cpu_backtrace(void);
extern void *hardirq_stack[NR_CPUS];
extern void *softirq_stack[NR_CPUS];
#define __ARCH_HAS_DO_SOFTIRQ
#define ARCH_HAS_NMI_WATCHDOG

#define NO_IRQ 0xffffffff

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/nmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* may be used to reset the timeout - for code which intentionally
* disables interrupts for a long time. This call is stateless.
*/
#if defined(ARCH_HAS_NMI_WATCHDOG) || defined(CONFIG_HARDLOCKUP_DETECTOR)
#if defined(CONFIG_HAVE_NMI_WATCHDOG) || defined(CONFIG_HARDLOCKUP_DETECTOR)
#include <asm/nmi.h>
extern void touch_nmi_watchdog(void);
#else
Expand Down
2 changes: 1 addition & 1 deletion trunk/lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ config LOCKUP_DETECTOR

config HARDLOCKUP_DETECTOR
def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \
!ARCH_HAS_NMI_WATCHDOG
!HAVE_NMI_WATCHDOG

config BOOTPARAM_HARDLOCKUP_PANIC
bool "Panic (Reboot) On Hard Lockups"
Expand Down

0 comments on commit 7c8f9a5

Please sign in to comment.