diff mbox

[1/3] kcmp: Include linux/ptrace.h

Message ID 1355935470-21001-2-git-send-email-alekskartashov@parallels.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexander Kartashov Dec. 19, 2012, 4:44 p.m. UTC
From: Cyrill Gorcunov <gorcunov@openvz.org>

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.

Original-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Eric W. Biederman <ebiederm@xmission.com>
CC: Pavel Emelyanov <xemul@parallels.com>
CC: Alexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
---
 kernel/kcmp.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/kernel/kcmp.c b/kernel/kcmp.c
index 30b7b22..e30ac0f 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>