Re: [PATCH] kernel/power/suspend: use CONFIG_HAVE_SET_MEMORY for include condition

From: Balbir Singh
Date: Sun Jun 25 2017 - 23:35:39 EST


On Sat, Jun 3, 2017 at 11:27 PM, Pavel Machek <pavel@xxxxxx> wrote:
> On Sat 2017-06-03 20:52:32, Balbir Singh wrote:
>> 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.
>>
>> fixes(50327dd kernel/power/snapshot.c: use set_memory.h header)
>>
>> I've only done a basic compile test with a config that has
>> hibernation enabled.
>>
>> Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>
>> Cc: Len Brown <len.brown@xxxxxxxxx>
> Acked-by: Pavel Machek <pavel@xxxxxx>

Ping. Could we please pick this up? it breaks any attempt to support
STRICT_KERNEL_RWX on powerpc

Balbir Singh.