Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933266AbdCGV6e (ORCPT ); Tue, 7 Mar 2017 16:58:34 -0500 Received: from mail-qk0-f182.google.com ([209.85.220.182]:36017 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933233AbdCGV6b (ORCPT ); Tue, 7 Mar 2017 16:58:31 -0500 From: Laura Abbott 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 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> 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 29 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