From patchwork Tue Mar 7 20:55:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9609797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 929EB602B4 for ; Tue, 7 Mar 2017 20:57:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CF74205A8 for ; Tue, 7 Mar 2017 20:57:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EE2D26BE9; Tue, 7 Mar 2017 20:57:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 54B24205A8 for ; Tue, 7 Mar 2017 20:57:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=leWFPVlfT5r/G6ABSgt0/Xa2Vx5Twowj5hzvhWLaOGM=; b=PVreUV0YYh+1O8Orlep0ZSEF0W bBwb+25xNgcx7Kg0imFA9jCSa+pE2IxlH9pewpqOXHh1Cjv27oDXEMS9H+Z/pNpqjbHdC5xv0Lims zR3NBTJvL8KbDV4J9SQfEjASTzg1wrTruLMXWIVHjMqnGIqXHHx6DXWrg0lP9sN9muvtHl5zTolrc dcsoHGpfzF+0EyQe+T8FAq16uhd4wmIlyMi0XHuIoirDs2UiEhgGhaEd/50VSQ6lrgrA5dlzZl8Nl 74trp73PT5Q/d3EL44zcwR2CvSzoQ82nHfvOWS1aStbQYoV1f+TSIF5H8H2Fd/QM3/aJNng5/Qqdk IGtPmYiw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clMAP-0003nI-13; Tue, 07 Mar 2017 20:57:09 +0000 Received: from mail-qk0-f170.google.com ([209.85.220.170]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clM9S-00037r-Fh for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2017 20:56:13 +0000 Received: by mail-qk0-f170.google.com with SMTP id v125so24964263qkh.2 for ; Tue, 07 Mar 2017 12:55:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IlRly982HiBffdp3/2It5aaCF+y2B6LKCx5IItP5B4Q=; b=Db3HEGBV+p2AXT5fZCsZ204dcayVFNdpPq+pn2Qq2tz7rGVzV9kd5uZUb7z5NZ0n+y d40B+/EozcgC6GVrmXwkdDPeUq+bBMJhVUN+LQqFtaQ9rA8NYonpyTCHsQy5SBXzMDU8 5a5uKoh7nAsp/VhzGGMgseLLW15LipoG0tlkSSxCCi7YbYysPSJKdj2PzTZwLO36ckjv 2/Mq7u6/IMYqw47w0b4CMHN8tiJD/+rZzwDY4dG9VqSqjBWkPG2r1MSpa4gjee33997H DQ42xUZ9i8ebVC/skoUab1yRtr3AfD4u0/tpkvOKonSw/IM0+LHR3MVr3AFw8wuuBeea rcsg== X-Gm-Message-State: AMke39m7jwqtuIFQ80XyN3rf6Q2F2BFiooLDs03PuDqCKdnd44Qe6E+H5RfxIinZlMNE2hIv X-Received: by 10.55.74.149 with SMTP id x143mr3046417qka.6.1488920148848; Tue, 07 Mar 2017 12:55:48 -0800 (PST) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc::5ce7]) by smtp.gmail.com with ESMTPSA id z196sm764343qkb.11.2017.03.07.12.55.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 12:55:47 -0800 (PST) From: Laura Abbott To: Russell King Subject: [PATCHv3 02/16] arm: Use set_memory.h header Date: Tue, 7 Mar 2017 12:55:19 -0800 Message-Id: <1488920133-27229-3-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488920133-27229-1-git-send-email-labbott@redhat.com> References: <1488920133-27229-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170307_125610_615978_A2D535D8 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Airlie , Catalin Marinas , Heiko Carstens , Takashi Iwai , Wim Van Sebroeck , "H. Peter Anvin" , linux-watchdog@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, Jessica Yu , Daniel Borkmann , x86@kernel.org, Alexander Shishkin , Ingo Molnar , Laura Abbott , Guenter Roeck , Kees Cook , Arnd Bergmann , Will Deacon , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Schwidefsky , Andrew Morton , "David S. Miller" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP set_memory_* functions have moved to set_memory.h. Switch to this explicitly Acked-by: Russell King Signed-off-by: Laura Abbott --- v3: Add one file, keep the cacheflush.h header in bpf --- arch/arm/kernel/ftrace.c | 1 + arch/arm/kernel/machine_kexec.c | 1 + arch/arm/mm/pageattr.c | 1 + arch/arm/net/bpf_jit_32.c | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/kernel/ftrace.c b/arch/arm/kernel/ftrace.c index 3f17594..dea3e96 100644 --- a/arch/arm/kernel/ftrace.c +++ b/arch/arm/kernel/ftrace.c @@ -21,6 +21,7 @@ #include #include #include +#include #ifdef CONFIG_THUMB2_KERNEL #define NOP 0xf85deb04 /* pop.w {lr} */ diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c index b18c1ea..1549588 100644 --- a/arch/arm/kernel/machine_kexec.c +++ b/arch/arm/kernel/machine_kexec.c @@ -18,6 +18,7 @@ #include #include #include +#include extern void relocate_new_kernel(void); extern const unsigned int relocate_new_kernel_size; diff --git a/arch/arm/mm/pageattr.c b/arch/arm/mm/pageattr.c index 3b69f26..1403cb4 100644 --- a/arch/arm/mm/pageattr.c +++ b/arch/arm/mm/pageattr.c @@ -15,6 +15,7 @@ #include #include +#include struct page_change_data { pgprot_t set_mask; diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c index 93d0b6d..d5b9fa1 100644 --- a/arch/arm/net/bpf_jit_32.c +++ b/arch/arm/net/bpf_jit_32.c @@ -18,6 +18,7 @@ #include #include +#include #include #include