From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laura Abbott Subject: [PATCHv3 10/16] bpf: Use set_memory.h header Date: Tue, 7 Mar 2017 12:55:27 -0800 Message-ID: <1488920133-27229-11-git-send-email-labbott@redhat.com> References: <1488920133-27229-1-git-send-email-labbott@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1488920133-27229-1-git-send-email-labbott@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: "David S. Miller" , Daniel Borkmann 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 , x86@kernel.org, Russell King , 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 List-Id: linux-arch.vger.kernel.org set_memory_* functions have moved to set_memory.h. Switch to this explicitly. Acked-by: Daniel Borkmann Signed-off-by: Laura Abbott --- v3: #ifdef guard --- include/linux/filter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/filter.h b/include/linux/filter.h index 0c167fd..8053c38 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -18,7 +18,9 @@ #include -#include +#ifdef CONFIG_ARCH_HAS_SET_MEMORY +#include +#endif #include #include -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f180.google.com ([209.85.220.180]:33691 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755990AbdCGVYI (ORCPT ); Tue, 7 Mar 2017 16:24:08 -0500 Received: by mail-qk0-f180.google.com with SMTP id y76so26967208qkb.0 for ; Tue, 07 Mar 2017 13:23:19 -0800 (PST) From: Laura Abbott Subject: [PATCHv3 10/16] bpf: Use set_memory.h header Date: Tue, 7 Mar 2017 12:55:27 -0800 Message-ID: <1488920133-27229-11-git-send-email-labbott@redhat.com> In-Reply-To: <1488920133-27229-1-git-send-email-labbott@redhat.com> References: <1488920133-27229-1-git-send-email-labbott@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "David S. Miller" , Daniel Borkmann Cc: Laura Abbott , Russell King , Catalin Marinas , Will Deacon , Martin Schwidefsky , Heiko Carstens , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Kees Cook , Mark Rutland , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-arch@vger.kernel.org, David Airlie , Alexander Shishkin , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, Jessica Yu , Takashi Iwai , Andrew Morton Message-ID: <20170307205527.2iKStfu5fpYsK2YMC-fCLsrfo4s7X0IDF2EfJGW-IdU@z> set_memory_* functions have moved to set_memory.h. Switch to this explicitly. Acked-by: Daniel Borkmann Signed-off-by: Laura Abbott --- v3: #ifdef guard --- include/linux/filter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/filter.h b/include/linux/filter.h index 0c167fd..8053c38 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -18,7 +18,9 @@ #include -#include +#ifdef CONFIG_ARCH_HAS_SET_MEMORY +#include +#endif #include #include -- 2.7.4