Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179151
b: refs/heads/master
c: 0eb99a9
h: refs/heads/master
i:
  179149: 4eed345
  179147: 04055d2
  179143: 670af9d
  179135: b624099
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jan 12, 2010
1 parent 25fdd69 commit c8874ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2620c3570f748647afb17e095507099a309ed8f6
refs/heads/master: 0eb99a9354cfe73dfa76ef81c917f7655b1b306c
21 changes: 0 additions & 21 deletions trunk/arch/mips/powertv/powertv_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c8874ca

Please sign in to comment.