kernel/power/snapshot.c: use linux/set_memory.h
authorMichael Ellerman <[email protected]>
Thu, 6 Jul 2017 22:35:55 +0000 (15:35 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:30 +0000 (16:24 -0700)
commit61f6d09a931c3ab216f43e00505073088d387d05
treea7c16813fe845d33d27565ad21fd40b65dc64334
parent938f846492d6682584cbe4f3f19c4ebffec46311
kernel/power/snapshot.c: 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/[email protected]
Signed-off-by: Michael Ellerman <[email protected]>
Acked-by: Kees Cook <[email protected]>
Acked-by: Laura Abbott <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/power/snapshot.c