diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-07-21 17:09:52 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 18:37:07 -0700 |
commit | 9d531cc1193693f2d2e5ef2532a877481b118be6 (patch) | |
tree | 0cfbf5b2b502591165e3935d12b7a72f32b0f0d2 /include/asm-x86_64 | |
parent | 65d2f0bc65b0249a22a6c1f49ec29ee5e2980c7b (diff) | |
download | linux-9d531cc1193693f2d2e5ef2532a877481b118be6.tar.bz2 |
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.h | 1 |
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__ |