summaryrefslogtreecommitdiffstats
path: root/arch/mips/powertv/powertv_setup.c
diff options
context:
space:
mode:
authorChristoph Egger <siccegge@cs.fau.de>2010-06-09 13:23:02 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 13:26:01 +0100
commitbc7cb37788533e43e7c5f6063c928abcd11a6ae1 (patch)
tree83b1f1e0eeb37ca3710ce89c1bf991bada76bc78 /arch/mips/powertv/powertv_setup.c
parent8b284dbc22001a958e64a30a10aa5f274cf6f33d (diff)
downloadblackbird-op-linux-bc7cb37788533e43e7c5f6063c928abcd11a6ae1.tar.gz
blackbird-op-linux-bc7cb37788533e43e7c5f6063c928abcd11a6ae1.zip
MIPS: PowerTV: Removing dead CONFIG_DIAGNOSTICS
CONFIG_DIAGNOSTICS doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger <siccegge@cs.fau.de> To: David VomLehn <dvomlehn@cisco.com> To: Yoichi Yuasa <yuasa@linux-mips.org> To: linux-mips@linux-mips.org To: linux-kernel@vger.kernel.org Cc: vamos@i4.informatik.uni-erlangen.de Patchwork: https://patchwork.linux-mips.org/patch/1374/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/powertv/powertv_setup.c')
-rw-r--r--arch/mips/powertv/powertv_setup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/powertv/powertv_setup.c b/arch/mips/powertv/powertv_setup.c
index af2cae0a5ab3..3933c373a438 100644
--- a/arch/mips/powertv/powertv_setup.c
+++ b/arch/mips/powertv/powertv_setup.c
@@ -199,14 +199,8 @@ static int panic_handler(struct notifier_block *notifier_block,
my_regs.cp0_status = read_c0_status();
}
-#ifdef CONFIG_DIAGNOSTICS
- failure_report((char *) cause_string,
- have_die_regs ? &die_regs : &my_regs);
- have_die_regs = false;
-#else
pr_crit("I'm feeling a bit sleepy. hmmmmm... perhaps a nap would... "
"zzzz... \n");
-#endif
return NOTIFY_DONE;
}
OpenPOWER on IntegriCloud