summaryrefslogtreecommitdiffstats
path: root/kernel/kcmp.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2012-12-21 00:05:21 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-21 02:40:19 +0100
commit44fd07e989a9a27476d8963296688127a4fd4df4 (patch)
treebecbc4b9e1f5c11d9441689376d555ed0a5eafcb /kernel/kcmp.c
parentdrivers/rtc/rtc-imxdi.c: must include <linux/spinlock.h> (diff)
downloadlinux-44fd07e989a9a27476d8963296688127a4fd4df4.tar.xz
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.c1
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>