From patchwork Wed Dec 19 13:27:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kartashov X-Patchwork-Id: 1895561 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 865EC3FC64 for ; Wed, 19 Dec 2012 13:31:42 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TlJhq-0004Du-3H; Wed, 19 Dec 2012 13:29:06 +0000 Received: from mx2.parallels.com ([64.131.90.16]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TlJhQ-00047J-D2 for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2012 13:28:42 +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 1TlJhC-0007yq-He; Wed, 19 Dec 2012 08:28:26 -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 05:28:25 -0800 From: Alexander Kartashov To: Russell King , , Subject: [PATCH 1/3] kcmp: Include linux/ptrace.h Date: Wed, 19 Dec 2012 17:27:55 +0400 Message-ID: <1355923677-18249-2-git-send-email-alekskartashov@parallels.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355923677-18249-1-git-send-email-alekskartashov@parallels.com> References: <1355923677-18249-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_082840_571776_C3C7A6EC X-CRM114-Status: GOOD ( 11.86 ) 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