From patchwork Wed Dec 19 16:44:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kartashov X-Patchwork-Id: 1896151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 4B1793FC64 for ; Wed, 19 Dec 2012 16:48:20 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TlMlv-0006B9-Tx; Wed, 19 Dec 2012 16:45:32 +0000 Received: from mx2.parallels.com ([64.131.90.16]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TlMld-00068D-Tw for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 16:45:16 +0000 Received: from [199.115.105.252] (helo=mail.parallels.com) by mx2.parallels.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1TlMlP-0001xy-Sa; Wed, 19 Dec 2012 11:45:00 -0500 Received: from alex-pc.sw.ru (195.214.232.10) by mail.parallels.com (10.255.249.32) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 19 Dec 2012 08:44:57 -0800 From: Alexander Kartashov To: Russell King , , Subject: [PATCH 1/3] kcmp: Include linux/ptrace.h Date: Wed, 19 Dec 2012 20:44:28 +0400 Message-ID: <1355935470-21001-2-git-send-email-alekskartashov@parallels.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355935470-21001-1-git-send-email-alekskartashov@parallels.com> References: <20689.54803.684081.31731@pilspetsen.it.uu.se> <1355935470-21001-1-git-send-email-alekskartashov@parallels.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121219_114514_508789_F13B3432 X-CRM114-Status: GOOD ( 11.78 ) X-Spam-Score: -4.9 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [64.131.90.16 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: xemul@parallels.com, "Eric W. Biederman" , "H. Peter Anvin" , gorcunov@openvz.org, Andrew Morton , Alexander Kartashov X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Cyrill Gorcunov 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 Signed-off-by: Cyrill Gorcunov CC: Andrew Morton CC: "H. Peter Anvin" CC: Eric W. Biederman CC: Pavel Emelyanov CC: Alexander Kartashov Signed-off-by: Alexander Kartashov --- kernel/kcmp.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include #include #include #include