aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-07-21 17:09:52 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-21 18:37:07 -0700
commit9d531cc1193693f2d2e5ef2532a877481b118be6 (patch)
tree0cfbf5b2b502591165e3935d12b7a72f32b0f0d2 /include/asm-x86_64
parent65d2f0bc65b0249a22a6c1f49ec29ee5e2980c7b (diff)
downloadlinux-9d531cc1193693f2d2e5ef2532a877481b118be6.tar.gz
x86_64: asm/ptrace.h needs linux/compiler.h
On x86_64, <asm/ptrace.h> uses __user but doesn't include <linux/compiler.h>. This could lead to build failures. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/ptrace.h b/include/asm-x86_64/ptrace.h
index 5ea84dbb1e9..7f166ccb060 100644
--- a/include/asm-x86_64/ptrace.h
+++ b/include/asm-x86_64/ptrace.h
@@ -1,6 +1,7 @@
#ifndef _X86_64_PTRACE_H
#define _X86_64_PTRACE_H
+#include <linux/compiler.h> /* For __user */
#include <asm/ptrace-abi.h>
#ifndef __ASSEMBLY__