From c8874ca80bbd65eee643391fe03d1973838965de Mon Sep 17 00:00:00 2001 From: Yoichi Yuasa Date: Fri, 18 Dec 2009 21:36:32 +0900 Subject: [PATCH] --- yaml --- r: 179151 b: refs/heads/master c: 0eb99a9354cfe73dfa76ef81c917f7655b1b306c h: refs/heads/master i: 179149: 4eed34594ab8c42eac376055bba206b0efeb3a5e 179147: 04055d2fa56fb1c9f6140e4b823e424fd166627e 179143: 670af9d0765866d4c2922a250ca88fb165efb936 179135: b624099e1717c4da9a23792de6d691df71e975d0 v: v3 --- [refs] | 2 +- trunk/arch/mips/powertv/powertv_setup.c | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/[refs] b/[refs] index 5cd33253f410..199fb6e875ee 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2620c3570f748647afb17e095507099a309ed8f6 +refs/heads/master: 0eb99a9354cfe73dfa76ef81c917f7655b1b306c diff --git a/trunk/arch/mips/powertv/powertv_setup.c b/trunk/arch/mips/powertv/powertv_setup.c index bd8ebf128f29..698b1eafbe98 100644 --- a/trunk/arch/mips/powertv/powertv_setup.c +++ b/trunk/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;