diff options
author | Balbir Singh <bsingharora@gmail.com> | 2017-06-03 20:52:32 +1000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-27 02:05:28 +0200 |
commit | 49368a47f6dc1b256e3b83813da5c9b0731fe268 (patch) | |
tree | b40184b30e1c3a26c4d743aa659030f5ad6b2eb5 /kernel/livepatch/patch.h | |
parent | c0944883c97c0ddc71da67cc731590a7c878a1a2 (diff) |
PM / hibernate: Use CONFIG_HAVE_SET_MEMORY for include condition
Kbuild reported a build failure when CONFIG_STRICT_KERNEL_RWX was
enabled on powerpc. We don't yet have ARCH_HAS_SET_MEMORY and ppc32
saw a build failure.
I've only done a basic compile test with a config that has
hibernation enabled.
Fixes: 50327ddfbc92 (kernel/power/snapshot.c: use set_memory.h header)
Reported-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/livepatch/patch.h')
0 files changed, 0 insertions, 0 deletions