diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2013-01-02 06:50:19 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-01-02 06:50:19 -0500 |
commit | 7ae42c96cffc432e1a4f90b7f12b11acb66723ed (patch) | |
tree | 29ec211570568669bb00320f14447aed4a5fb353 /arch/arm64 | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff) |
arm64: Include linux/ptrace.h in asm/compat.h
Commit 9b064fc3f95a8e44e929fdf4d6037334ea03d15b (new helper:
compat_user_stack_pointer()) introduces a call to current_pt_regs()
which is defined in linux/ptrace.h, not currently included asm/compat.h.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/include/asm/compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index d9ec40217a27..618b450e5a1d 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h | |||
@@ -23,6 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/sched.h> | 25 | #include <linux/sched.h> |
26 | #include <linux/ptrace.h> | ||
26 | 27 | ||
27 | #define COMPAT_USER_HZ 100 | 28 | #define COMPAT_USER_HZ 100 |
28 | #define COMPAT_UTS_MACHINE "armv8l\0\0" | 29 | #define COMPAT_UTS_MACHINE "armv8l\0\0" |