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-22 03:37:07 +0200 |
commit | 9d531cc1193693f2d2e5ef2532a877481b118be6 (patch) | |
tree | 0cfbf5b2b502591165e3935d12b7a72f32b0f0d2 /include/asm-x86_64 | |
parent | x86: Always flush pages in change_page_attr (diff) | |
download | linux-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.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__ |