Loading arch/blackfin/Kconfig.debug +9 −0 Original line number Diff line number Diff line Loading @@ -238,6 +238,15 @@ config EARLY_PRINTK all of this lives in the init section and is thrown away after the kernel boots completely. config NMI_WATCHDOG bool "Enable NMI watchdog to help debugging lockup on SMP" default n depends on (SMP && !BFIN_SCRATCH_REG_RETN) help If any CPU in the system does not execute the period local timer interrupt for more than 5 seconds, then the NMI handler dumps debug information. This information can be used to debug the lockup. config CPLB_INFO bool "Display the CPLB information" help Loading arch/blackfin/include/asm/irq.h +4 −0 Original line number Diff line number Diff line Loading @@ -38,4 +38,8 @@ #include <asm-generic/irq.h> #ifdef CONFIG_NMI_WATCHDOG # define ARCH_HAS_NMI_WATCHDOG #endif #endif /* _BFIN_IRQ_H_ */ arch/blackfin/include/asm/nmi.h 0 → 100644 +12 −0 Original line number Diff line number Diff line /* * Copyright 2010 Analog Devices Inc. * * Licensed under the GPL-2 */ #ifndef _BFIN_NMI_H_ #define _BFIN_NMI_H_ #include <linux/nmi.h> #endif arch/blackfin/include/asm/smp.h +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ extern char coreb_trampoline_start, coreb_trampoline_end; struct corelock_slot { int lock; }; extern struct corelock_slot corelock; void smp_icache_flush_range_others(unsigned long start, unsigned long end); Loading arch/blackfin/kernel/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ obj-$(CONFIG_CPLB_INFO) += cplbinfo.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_KGDB) += kgdb.o obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o obj-$(CONFIG_NMI_WATCHDOG) += nmi.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o obj-$(CONFIG_STACKTRACE) += stacktrace.o Loading Loading
arch/blackfin/Kconfig.debug +9 −0 Original line number Diff line number Diff line Loading @@ -238,6 +238,15 @@ config EARLY_PRINTK all of this lives in the init section and is thrown away after the kernel boots completely. config NMI_WATCHDOG bool "Enable NMI watchdog to help debugging lockup on SMP" default n depends on (SMP && !BFIN_SCRATCH_REG_RETN) help If any CPU in the system does not execute the period local timer interrupt for more than 5 seconds, then the NMI handler dumps debug information. This information can be used to debug the lockup. config CPLB_INFO bool "Display the CPLB information" help Loading
arch/blackfin/include/asm/irq.h +4 −0 Original line number Diff line number Diff line Loading @@ -38,4 +38,8 @@ #include <asm-generic/irq.h> #ifdef CONFIG_NMI_WATCHDOG # define ARCH_HAS_NMI_WATCHDOG #endif #endif /* _BFIN_IRQ_H_ */
arch/blackfin/include/asm/nmi.h 0 → 100644 +12 −0 Original line number Diff line number Diff line /* * Copyright 2010 Analog Devices Inc. * * Licensed under the GPL-2 */ #ifndef _BFIN_NMI_H_ #define _BFIN_NMI_H_ #include <linux/nmi.h> #endif
arch/blackfin/include/asm/smp.h +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ extern char coreb_trampoline_start, coreb_trampoline_end; struct corelock_slot { int lock; }; extern struct corelock_slot corelock; void smp_icache_flush_range_others(unsigned long start, unsigned long end); Loading
arch/blackfin/kernel/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ obj-$(CONFIG_CPLB_INFO) += cplbinfo.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_KGDB) += kgdb.o obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o obj-$(CONFIG_NMI_WATCHDOG) += nmi.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o obj-$(CONFIG_STACKTRACE) += stacktrace.o Loading