| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 4/5] MIPS: remove unused powertv platform_die() |
| From: | Yoichi Yuasa <yuasa@linux-mips.org> |
| Date: | Fri, 18 Dec 2009 21:36:32 +0900 |
| Cc: | yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=rYhgtuacZzBZMZx4fEit0CfkT4ORI+0iCpOb70EK6bw=; b=l6AO9q3CPPOLsaw9Lfcj1DjDvxmRUJLNM6XbKWhCTOJa+zwq5G6i+NzCYZ60nmBlAq 8aoqUif7QcLY9bglkHTMQinfwlARrY3Ag+RenGf51Hx/J+WCrYBUCDDWSAk/ZlTpiR1o 4MFPul0dpjThqthmk/I0Mti/1Qm+cRYBVtOME= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=jLKCM1+nRttLMHEjloYgIylFTyv59EidYTNrfPXObDbjOs63OkKD0cf8zqdhLIoZaM 0h9C3Gr9uQdBvItduCb6+aexkJCFe70VdPbgDyBuAP+CV5l9en3Ni7XeLHEGbtMSCP4I MIle15Ce7ErLR3r4265EOnOLCRowaajWd3q/Y= |
| In-reply-to: | <20091218213346.01f63eac.yuasa@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20091218212917.f42e8180.yuasa@linux-mips.org> <20091218213018.79a9fc11.yuasa@linux-mips.org> <20091218213346.01f63eac.yuasa@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
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;
--
1.6.5.7
|
| Previous by Date: | [PATCH 2/5] MIPS: remove unused powertv ptv_memsize, Yoichi Yuasa |
|---|---|
| Next by Date: | [PATCH 5/5] MIPS: simplify powertv prom_init_cmdline() and merge to prom_init(), Yoichi Yuasa |
| Previous by Thread: | [PATCH 3/5] MIPS: remove powertv mips_machine_halt(), Yoichi Yuasa |
| Next by Thread: | [PATCH 5/5] MIPS: simplify powertv prom_init_cmdline() and merge to prom_init(), Yoichi Yuasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |