From patchwork Fri Mar 7 20:10:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Long X-Patchwork-Id: 25898 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D7551203C3 for ; Fri, 7 Mar 2014 20:11:02 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id i57sf4310990yha.6 for ; Fri, 07 Mar 2014 12:11:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=vUWLLLXDTR3E8xrQsQm/+QRroj6GYE1Q/+Cr6ObcAQE=; b=d4tSU+C6VdIE7GvlYIFV/SHbcy7x031PUoUPKSBVsNadW5UmNWsOyCxVa/tLpYxRvD yT1eLLXhSvZU/oJtSqW/DgoFKSkycBeIW5YUPovyPfsgWL9P437KmJhnlUFyigS0J2Ff HePrqVrYWyDE3KwXRSOwdWoG2CJnY508ZxPUZquI+ws9W7LXIaGoZejNgVra9qp2YLaH lnBNEJryA8BFBVPqMnQPshf5AG+5aYrIdAJgXHe3r6qF81lVuwWnNWWG/OczlO5RSMBb gtbo0iG/oL46PQzFwGdpwY3eK+/pumNpOTJYrCDLBp5UbulIXylks09nqarB8WP1XQKs y6YA== X-Gm-Message-State: ALoCoQkYMScHiCWaJb6Hs5jJ6ye7nA+mkyGgF3VlmFGpuzDcgTnvg3aAbbnF721TmcGSihd+8Fnq X-Received: by 10.236.121.4 with SMTP id q4mr7955606yhh.34.1394223062663; Fri, 07 Mar 2014 12:11:02 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.25.212 with SMTP id 78ls1296908qgt.30.gmail; Fri, 07 Mar 2014 12:11:02 -0800 (PST) X-Received: by 10.220.11.141 with SMTP id t13mr2582078vct.30.1394223062471; Fri, 07 Mar 2014 12:11:02 -0800 (PST) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id zp2si2459028vec.8.2014.03.07.12.11.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 12:11:02 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so4854944veb.0 for ; Fri, 07 Mar 2014 12:11:02 -0800 (PST) X-Received: by 10.52.189.98 with SMTP id gh2mr30687vdc.86.1394223062387; Fri, 07 Mar 2014 12:11:02 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp139715vck; Fri, 7 Mar 2014 12:11:01 -0800 (PST) X-Received: by 10.66.153.80 with SMTP id ve16mr10747318pab.143.1394223060988; Fri, 07 Mar 2014 12:11:00 -0800 (PST) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by mx.google.com with ESMTPS id i7si9378750pav.188.2014.03.07.12.11.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 12:11:00 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of dave.long@linaro.org) client-ip=209.85.160.52; Received: by mail-pb0-f52.google.com with SMTP id rr13so4633985pbb.39 for ; Fri, 07 Mar 2014 12:11:00 -0800 (PST) X-Received: by 10.68.197.8 with SMTP id iq8mr24114208pbc.124.1394223060595; Fri, 07 Mar 2014 12:11:00 -0800 (PST) Received: from localhost.localdomain (n182z4l226.static.ctm.net. [182.93.4.226]) by mx.google.com with ESMTPSA id tu3sm12419427pab.1.2014.03.07.12.10.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 12:10:59 -0800 (PST) From: David Long To: linux-arm-kernel@lists.infradead.org, Russell King Cc: Rabin Vincent , "Jon Medhurst (Tixy)" , Oleg Nesterov , Srikar Dronamraju , Ingo Molnar , Masami Hiramatsu , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , , Peter Zijlstra , Paul Mackerras , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org Subject: [PATCH v7 02/15] ARM: Fix missing includes in kprobes sources Date: Fri, 7 Mar 2014 15:10:27 -0500 Message-Id: <1394223040-17129-3-git-send-email-dave.long@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1394223040-17129-1-git-send-email-dave.long@linaro.org> References: <1394223040-17129-1-git-send-email-dave.long@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: dave.long@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: "David A. Long" Make sure includes in ARM kprobes sources are done explicitly. Do not rely on includes from other includes. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/include/asm/kprobes.h | 2 +- arch/arm/kernel/kprobes-common.c | 3 +++ arch/arm/kernel/kprobes-test-arm.c | 1 + arch/arm/kernel/kprobes-test.c | 4 +++- arch/arm/kernel/kprobes.c | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/kprobes.h b/arch/arm/include/asm/kprobes.h index f82ec22..fd2e5ca 100644 --- a/arch/arm/include/asm/kprobes.h +++ b/arch/arm/include/asm/kprobes.h @@ -18,7 +18,7 @@ #include #include -#include +#include #define __ARCH_WANT_KPROBES_INSN_SLOT #define MAX_INSN_SIZE 2 diff --git a/arch/arm/kernel/kprobes-common.c b/arch/arm/kernel/kprobes-common.c index 18a7628..455c800 100644 --- a/arch/arm/kernel/kprobes-common.c +++ b/arch/arm/kernel/kprobes-common.c @@ -14,6 +14,9 @@ #include #include #include +#include +#include +#include #include "kprobes.h" diff --git a/arch/arm/kernel/kprobes-test-arm.c b/arch/arm/kernel/kprobes-test-arm.c index 8393129..87839de 100644 --- a/arch/arm/kernel/kprobes-test-arm.c +++ b/arch/arm/kernel/kprobes-test-arm.c @@ -10,6 +10,7 @@ #include #include +#include #include "kprobes-test.h" diff --git a/arch/arm/kernel/kprobes-test.c b/arch/arm/kernel/kprobes-test.c index 0cd63d0..4a774d4 100644 --- a/arch/arm/kernel/kprobes-test.c +++ b/arch/arm/kernel/kprobes-test.c @@ -201,7 +201,9 @@ #include #include #include - +#include +#include +#include #include #include "kprobes.h" diff --git a/arch/arm/kernel/kprobes.c b/arch/arm/kernel/kprobes.c index a7b621e..54e7b46 100644 --- a/arch/arm/kernel/kprobes.c +++ b/arch/arm/kernel/kprobes.c @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include "kprobes.h" #include "patch.h"