summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-05-28 07:25:44 +0200
committerSteven Miao <realmz6@gmail.com>2013-07-09 09:47:22 +0200
commit259c9b1712242fb3c841d49020a4f179f0c1920c (patch)
treeece3fd6718ea3cf0cb051e8c49ad37841291b297 /arch
parentLinux 3.10 (diff)
downloadlinux-259c9b1712242fb3c841d49020a4f179f0c1920c.tar.xz
linux-259c9b1712242fb3c841d49020a4f179f0c1920c.zip
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: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/kernel/kgdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c
index b882ce22c347..fa53faeeb0e9 100644
--- a/arch/blackfin/kernel/kgdb.c
+++ b/arch/blackfin/kernel/kgdb.c
@@ -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)
{