diff options
author | Yoichi Yuasa <yuasa@linux-mips.org> | 2009-12-18 21:36:32 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-01-12 18:19:33 +0100 |
commit | 0eb99a9354cfe73dfa76ef81c917f7655b1b306c (patch) | |
tree | 58a5528d31d84dbbedbb678273b71f63baf3fe27 /arch | |
parent | 2620c3570f748647afb17e095507099a309ed8f6 (diff) | |
download | op-kernel-dev-0eb99a9354cfe73dfa76ef81c917f7655b1b306c.zip op-kernel-dev-0eb99a9354cfe73dfa76ef81c917f7655b1b306c.tar.gz |
MIPS: PowerTV: Remove unused platform_die()
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/800/
Reviewed-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/powertv/powertv_setup.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/mips/powertv/powertv_setup.c b/arch/mips/powertv/powertv_setup.c index bd8ebf1..698b1ea 100644 --- a/arch/mips/powertv/powertv_setup.c +++ b/arch/mips/powertv/powertv_setup.c @@ -64,9 +64,6 @@ #define REG_SIZE "4" /* In bytes */ #endif -static struct pt_regs die_regs; -static bool have_die_regs; - static void register_panic_notifier(void); static int panic_handler(struct notifier_block *notifier_block, unsigned long event, void *cause_string); @@ -218,24 +215,6 @@ static int panic_handler(struct notifier_block *notifier_block, return NOTIFY_DONE; } -/** - * Platform-specific handling of oops - * @str: Pointer to the oops string - * @regs: Pointer to the oops registers - * All we do here is to save the registers for subsequent printing through - * the panic notifier. - */ -void platform_die(const char *str, const struct pt_regs *regs) -{ - /* If we already have saved registers, don't overwrite them as they - * they apply to the initial fault */ - - if (!have_die_regs) { - have_die_regs = true; - die_regs = *regs; - } -} - /* Information about the RF MAC address, if one was supplied on the * command line. */ static bool have_rfmac; |