summaryrefslogtreecommitdiff
path: root/arch/arm/include/uapi
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-09-01 11:37:44 +0300
committerSimon Horman <horms+renesas@verge.net.au>2017-09-18 09:10:41 +0300
commitc5d43be52e0c7380f985585ef72dac1a6a89b59d (patch)
tree157765b17a1307af0d4e0536f946cf59e902d2ef /arch/arm/include/uapi
parent8e5f2d651f5b8ebf4b462aac02f51fe6075f88c0 (diff)
downloadlinux-c5d43be52e0c7380f985585ef72dac1a6a89b59d.tar.xz
ARM: Add definition for monitor mode
<asm/ptrace.h> provides *_MODE definitions for the various processor modes, but monitor mode was missing. Add MON_MODE to avoid code using the hardcoded value. Suggested-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/include/uapi')
-rw-r--r--arch/arm/include/uapi/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/ptrace.h b/arch/arm/include/uapi/asm/ptrace.h
index 5af0ed1b825a..70ff6bf489f3 100644
--- a/arch/arm/include/uapi/asm/ptrace.h
+++ b/arch/arm/include/uapi/asm/ptrace.h
@@ -53,6 +53,7 @@
#endif
#define FIQ_MODE 0x00000011
#define IRQ_MODE 0x00000012
+#define MON_MODE 0x00000016
#define ABT_MODE 0x00000017
#define HYP_MODE 0x0000001a
#define UND_MODE 0x0000001b