summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/ptrace.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-07-05 10:12:52 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-07-05 10:12:52 -0700
commite1a08b855f56d6528e7f85aae9ca8123f4c3ae04 (patch)
treec7d8838cb99cbb0864583191e9b45d19b9656f97 /arch/arm64/include/asm/ptrace.h
parent77c4cf17ae867ba93233b3832bda3de7adaae326 (diff)
parent974c8e450b9327a03453a4a450a2030b1bd42b5f (diff)
downloadtalos-op-linux-e1a08b855f56d6528e7f85aae9ca8123f4c3ae04.tar.gz
talos-op-linux-e1a08b855f56d6528e7f85aae9ca8123f4c3ae04.zip
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull ARM64 fixes from Catalin Marinas: - Exception level check at boot time (for completeness, not triggering any bug before) - I/D-cache synchronisation logic for huge pages - Config symbol typo * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: fix el2_setup check of CurrentEL arm64: mm: Make icache synchronisation logic huge page aware arm64: mm: Fix horrendous config typo
Diffstat (limited to 'arch/arm64/include/asm/ptrace.h')
-rw-r--r--arch/arm64/include/asm/ptrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/ptrace.h b/arch/arm64/include/asm/ptrace.h
index a429b5940be2..501000fadb6f 100644
--- a/arch/arm64/include/asm/ptrace.h
+++ b/arch/arm64/include/asm/ptrace.h
@@ -21,6 +21,10 @@
#include <uapi/asm/ptrace.h>
+/* Current Exception Level values, as contained in CurrentEL */
+#define CurrentEL_EL1 (1 << 2)
+#define CurrentEL_EL2 (2 << 2)
+
/* AArch32-specific ptrace requests */
#define COMPAT_PTRACE_GETREGS 12
#define COMPAT_PTRACE_SETREGS 13
OpenPOWER on IntegriCloud