summaryrefslogtreecommitdiffstats
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-22 03:37:07 +0200
commit9d531cc1193693f2d2e5ef2532a877481b118be6 (patch)
tree0cfbf5b2b502591165e3935d12b7a72f32b0f0d2 /include/asm-x86_64
parentx86: Always flush pages in change_page_attr (diff)
downloadlinux-9d531cc1193693f2d2e5ef2532a877481b118be6.tar.xz
linux-9d531cc1193693f2d2e5ef2532a877481b118be6.zip
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 5ea84dbb1e9c..7f166ccb0606 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__