aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/traps.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index c8e291c83057..d6103e510899 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -1035,19 +1035,11 @@ void ejtag_exception_handler(struct pt_regs *regs)
1035/* 1035/*
1036 * NMI exception handler. 1036 * NMI exception handler.
1037 */ 1037 */
1038void nmi_exception_handler(struct pt_regs *regs) 1038NORET_TYPE void ATTRIB_NORET nmi_exception_handler(struct pt_regs *regs)
1039{ 1039{
1040#ifdef CONFIG_MIPS_MT_SMTC
1041 unsigned long dvpret = dvpe();
1042 bust_spinlocks(1); 1040 bust_spinlocks(1);
1043 printk("NMI taken!!!!\n"); 1041 printk("NMI taken!!!!\n");
1044 mips_mt_regdump(dvpret);
1045#else
1046 bust_spinlocks(1);
1047 printk("NMI taken!!!!\n");
1048#endif /* CONFIG_MIPS_MT_SMTC */
1049 die("NMI", regs); 1042 die("NMI", regs);
1050 while(1) ;
1051} 1043}
1052 1044
1053#define VECTORSPACING 0x100 /* for EI/VI mode */ 1045#define VECTORSPACING 0x100 /* for EI/VI mode */