Commit bc7cb377 authored by Christoph Egger's avatar Christoph Egger Committed by Ralf Baechle

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: default avatarChristoph 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 8b284dbc
...@@ -199,14 +199,8 @@ static int panic_handler(struct notifier_block *notifier_block, ...@@ -199,14 +199,8 @@ static int panic_handler(struct notifier_block *notifier_block,
my_regs.cp0_status = read_c0_status(); 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... " pr_crit("I'm feeling a bit sleepy. hmmmmm... perhaps a nap would... "
"zzzz... \n"); "zzzz... \n");
#endif
return NOTIFY_DONE; return NOTIFY_DONE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment