mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
[MIPS] Malta: Fix uninitialized regs pointer.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
22c56c3a03
commit
ba38cdf942
@ -32,6 +32,7 @@
|
||||
#include <asm/i8259.h>
|
||||
#include <asm/irq_cpu.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq_regs.h>
|
||||
#include <asm/mips-boards/malta.h>
|
||||
#include <asm/mips-boards/maltaint.h>
|
||||
#include <asm/mips-boards/piix4.h>
|
||||
@ -131,7 +132,7 @@ static void corehi_irqdispatch(void)
|
||||
unsigned int intedge, intsteer, pcicmd, pcibadaddr;
|
||||
unsigned int pcimstat, intisr, inten, intpol;
|
||||
unsigned int intrcause,datalo,datahi;
|
||||
struct pt_regs *regs;
|
||||
struct pt_regs *regs = get_irq_regs();
|
||||
|
||||
printk("CoreHI interrupt, shouldn't happen, so we die here!!!\n");
|
||||
printk("epc : %08lx\nStatus: %08lx\n"
|
||||
|
Loading…
Reference in New Issue
Block a user