Skip to content

Commit

Permalink
arm64: Include linux/ptrace.h in asm/compat.h
Browse files Browse the repository at this point in the history
Commit 9b064fc (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>
  • Loading branch information
Catalin Marinas committed Jan 2, 2013
1 parent a49f0d1 commit 7ae42c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7ae42c9

Please sign in to comment.