kernel/power/snapshot.c: use set_memory.h header
authorLaura Abbott <[email protected]>
Mon, 8 May 2017 22:58:32 +0000 (15:58 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:14 +0000 (17:15 -0700)
set_memory_* functions have moved to set_memory.h.  Switch to this
explicitly.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Laura Abbott <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/power/snapshot.c

index d79a38de425a0d642834adb5e8ac68ba237db93d..3b1e0f3ad07fa69d9524bcb72d1c6d0bab1a9ad8 100644 (file)
@@ -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"