]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
arm64: Include linux/ptrace.h in asm/compat.h
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Jan 2013 11:50:19 +0000 (11:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Jan 2013 11:50:19 +0000 (11:50 +0000)
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>
arch/arm64/include/asm/compat.h

index d9ec40217a27639280fb958ee49c9f92cb188c90..618b450e5a1d5e009f30784b11e66a3fbc6468c5 100644 (file)
@@ -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"