Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284757
b: refs/heads/master
c: 6fb97ef
h: refs/heads/master
i:
  284755: fd80995
v: v3
  • Loading branch information
Kevin Cernekee authored and Ralf Baechle committed Dec 7, 2011
1 parent f120d6d commit 8612d73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34bd92e27becdc2c8b50d200a329da5e9b8174d9
refs/heads/master: 6fb97effee5374ac5b2a0e8666d380e83b5ca1e3
1 change: 1 addition & 0 deletions trunk/arch/mips/include/asm/traps.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
extern void (*board_nmi_handler_setup)(void);
extern void (*board_ejtag_handler_setup)(void);
extern void (*board_bind_eic_interrupt)(int irq, int regset);
extern void (*board_ebase_setup)(void);

extern int register_nmi_notifier(struct notifier_block *nb);

Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
void (*board_nmi_handler_setup)(void);
void (*board_ejtag_handler_setup)(void);
void (*board_bind_eic_interrupt)(int irq, int regset);
void (*board_ebase_setup)(void);


static void show_raw_backtrace(unsigned long reg29)
Expand Down Expand Up @@ -1691,6 +1692,8 @@ void __init trap_init(void)
ebase += (read_c0_ebase() & 0x3ffff000);
}

if (board_ebase_setup)
board_ebase_setup();
per_cpu_trap_init();

/*
Expand Down

0 comments on commit 8612d73

Please sign in to comment.