From: Michael Ellerman Date: Thu, 6 Jul 2017 22:36:01 +0000 (-0700) Subject: include/linux/filter.h: use linux/set_memory.h X-Git-Tag: v5.15~10946^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=820a0b24b261c650cb07ea0f60aea9191f658f25;p=platform%2Fkernel%2Flinux-starfive.git include/linux/filter.h: use linux/set_memory.h This header always exists, so doesn't require an ifdef around its inclusion. When CONFIG_ARCH_HAS_SET_MEMORY=y it includes the asm header, otherwise it provides empty versions of the set_memory_xx() routines. Link: http://lkml.kernel.org/r/1498717781-29151-4-git-send-email-mpe@ellerman.id.au Signed-off-by: Michael Ellerman Acked-by: Daniel Borkmann Acked-by: Kees Cook Acked-by: Laura Abbott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/filter.h b/include/linux/filter.h index f1fc9ba..bfef1e5 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -16,13 +16,10 @@ #include #include #include +#include #include -#ifdef CONFIG_ARCH_HAS_SET_MEMORY -#include -#endif - #include #include