Re:mips builds failing in v3.18.38 and v4.1.29

From: éåæ
Date: Mon Aug 01 2016 - 01:08:09 EST


Hi,

I have already told Sasha that "MIPS: Reserve nosave data for hibernation" should not be backported to 4.1/3.18. But he has no response.

Huacai

------------------ Original ------------------
From: "Guenter Roeck"<linux@xxxxxxxxxxxx>;
Date: Mon, Aug 1, 2016 07:57 AM
To: "Sasha Levin"<sasha.levin@xxxxxxxxxx>;
Cc: "stable"<stable@xxxxxxxxxxxxxxx>; "linux-kernel@xxxxxxxxxxxxxxx"<linux-kernel@xxxxxxxxxxxxxxx>; "Huacai Chen"<chenhc@xxxxxxxxxx>;
Subject: mips builds failing in v3.18.38 and v4.1.29

Sorry I didn't notice earlier - my 3.18/4.1 build scripts were broken.

arch/mips/kernel/setup.c: In function 'arch_mem_init':
arch/mips/kernel/setup.c:689:2: error: implicit declaration of function 'reserve_bootmem_region'

Offending commit is 1dd0964204277108e ("MIPS: Reserve nosave data for hibernation").
It fixes a bug which does not exist in 3.18 / 4.1, in turn causing all mips builds in 3.18
and 4.1 to fail.

Guenter