summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/kgdb.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-11-12 11:58:59 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-11-12 11:58:59 +0100
commitdf762eccbadf87850fbee444d729e0f1b1e946f1 (patch)
tree1bf47bbbd4ea91e343f983b3b50ec2ec73a739e1 /arch/arm/include/asm/kgdb.h
parentMerge branch 'misc' into for-next (diff)
parentARM: 7878/1: nommu: Implement dummy early_paging_init() (diff)
downloadlinux-df762eccbadf87850fbee444d729e0f1b1e946f1.tar.xz
linux-df762eccbadf87850fbee444d729e0f1b1e946f1.zip
Merge branch 'devel-stable' into for-next
Conflicts: arch/arm/include/asm/atomic.h arch/arm/include/asm/hardirq.h arch/arm/kernel/smp.c
Diffstat (limited to 'arch/arm/include/asm/kgdb.h')
-rw-r--r--arch/arm/include/asm/kgdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/kgdb.h b/arch/arm/include/asm/kgdb.h
index 48066ce9ea34..0a9d5dd93294 100644
--- a/arch/arm/include/asm/kgdb.h
+++ b/arch/arm/include/asm/kgdb.h
@@ -11,6 +11,7 @@
#define __ARM_KGDB_H__
#include <linux/ptrace.h>
+#include <asm/opcodes.h>
/*
* GDB assumes that we're a user process being debugged, so
@@ -41,7 +42,7 @@
static inline void arch_kgdb_breakpoint(void)
{
- asm(".word 0xe7ffdeff");
+ asm(__inst_arm(0xe7ffdeff));
}
extern void kgdb_handle_bus_error(void);