Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 259c9b17 authored by Sonic Zhang's avatar Sonic Zhang Committed by Steven Miao
Browse files

kgdb: blackfin: include irq_regs.h in kgdb.c



The function definition of get_irq_regs() is moved to asm header irq_regs.h.

Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
parent 8bb495e3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
#include <linux/ptrace.h>		/* for linux pt_regs struct */
#include <linux/kgdb.h>
#include <linux/uaccess.h>
#include <asm/irq_regs.h>

void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
{