diff options
author | Laura Abbott <labbott@redhat.com> | 2017-05-09 00:58:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 02:15:14 +0200 |
commit | 50327ddfbc926e68da1958e4fac51f1106f5e730 (patch) | |
tree | 43fb94b1f59611be527506e5faa1e142162e5826 /kernel/power/snapshot.c | |
parent | kernel/module.c: use set_memory.h header (diff) | |
download | linux-50327ddfbc926e68da1958e4fac51f1106f5e730.tar.xz linux-50327ddfbc926e68da1958e4fac51f1106f5e730.zip |
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 '')
-rw-r--r-- | kernel/power/snapshot.c | 3 |
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" |