summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2017-05-09 01:58:32 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-09 03:15:14 +0300
commit50327ddfbc926e68da1958e4fac51f1106f5e730 (patch)
tree43fb94b1f59611be527506e5faa1e142162e5826
parentbbca07c307166a753155e79a874d07023f4edd20 (diff)
downloadlinux-50327ddfbc926e68da1958e4fac51f1106f5e730.tar.xz
kernel/power/snapshot.c: use set_memory.h header
set_memory_* functions have moved to set_memory.h. Switch to this explicitly. Link: http://lkml.kernel.org/r/1488920133-27229-13-git-send-email-labbott@redhat.com Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/power/snapshot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index d79a38de425a..3b1e0f3ad07f 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -36,6 +36,9 @@
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/io.h>
+#ifdef CONFIG_STRICT_KERNEL_RWX
+#include <asm/set_memory.h>
+#endif
#include "power.h"