diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2012-12-20 15:05:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-20 17:40:19 -0800 |
commit | 44fd07e989a9a27476d8963296688127a4fd4df4 (patch) | |
tree | becbc4b9e1f5c11d9441689376d555ed0a5eafcb /kernel/kcmp.c | |
parent | ba3f7a1765dc4095c757ac82eb14d6824c45e87d (diff) | |
download | linux-44fd07e989a9a27476d8963296688127a4fd4df4.tar.gz linux-44fd07e989a9a27476d8963296688127a4fd4df4.tar.bz2 linux-44fd07e989a9a27476d8963296688127a4fd4df4.zip |
kcmp: include linux/ptrace.h
This makes it compile on s390. After all the ptrace_may_access
(which we use this file) is declared exactly in linux/ptrace.h.
This is preparatory work to wire this syscall up on all archs.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kcmp.c')
-rw-r--r-- | kernel/kcmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kcmp.c b/kernel/kcmp.c index 30b7b225306c..e30ac0fe61c3 100644 --- a/kernel/kcmp.c +++ b/kernel/kcmp.c @@ -4,6 +4,7 @@ #include <linux/string.h> #include <linux/random.h> #include <linux/module.h> +#include <linux/ptrace.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/cache.h> |