Commit 7ae42c96 authored by Catalin Marinas's avatar Catalin Marinas

arm64: Include linux/ptrace.h in asm/compat.h

Commit 9b064fc3 (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: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent a49f0d1e
......@@ -23,6 +23,7 @@
*/
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
#define COMPAT_USER_HZ 100
#define COMPAT_UTS_MACHINE "armv8l\0\0"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment