提交 7ae42c96 编写于 作者: C 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: NCatalin Marinas <catalin.marinas@arm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册