summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2017-05-08 15:58:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-08 17:15:14 -0700
commit50327ddfbc926e68da1958e4fac51f1106f5e730 (patch)
tree43fb94b1f59611be527506e5faa1e142162e5826 /kernel
parentbbca07c307166a753155e79a874d07023f4edd20 (diff)
downloadop-kernel-dev-50327ddfbc926e68da1958e4fac51f1106f5e730.zip
op-kernel-dev-50327ddfbc926e68da1958e4fac51f1106f5e730.tar.gz
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>
Diffstat (limited to 'kernel')
-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 d79a38d..3b1e0f3 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"
OpenPOWER on IntegriCloud