projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d2f0b
)
x86_64: asm/ptrace.h needs linux/compiler.h
author
Jean Delvare
<khali@linux-fr.org>
Sat, 21 Jul 2007 15:09:52 +0000
(17:09 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:07 +0000
(18:37 -0700)
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>
include/asm-x86_64/ptrace.h
patch
|
blob
|
history
diff --git
a/include/asm-x86_64/ptrace.h
b/include/asm-x86_64/ptrace.h
index
5ea84db
..
7f166cc
100644
(file)
--- 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__