]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
include/linux/filter.h: use linux/set_memory.h
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Jul 2017 22:36:01 +0000 (15:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Jul 2017 23:24:30 +0000 (16:24 -0700)
commit820a0b24b261c650cb07ea0f60aea9191f658f25
tree7e00801f2b1977eeef6b0e500c4e08843dffd933
parent563ec5cbc615698239c3a63511b939a7a7e38870
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 <mpe@ellerman.id.au>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/filter.h