]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
MIPS: Reserve nosave data for hibernation
authorHuacai Chen <chenhc@lemote.com>
Thu, 17 Mar 2016 12:37:10 +0000 (20:37 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:03 +0000 (12:00 +0200)
commita95d069204e178f18476f5499abab0d0d9cbc32c
tree7d8221271ce89e4cbd3c5417a6f94c0f27395177
parent54292850e8f56c8408db44ea3a5167a0f7c156d5
MIPS: Reserve nosave data for hibernation

After commit 92923ca3aacef63c92d ("mm: meminit: only set page reserved
in the memblock region"), the MIPS hibernation is broken. Because pages
in nosave data section should be "reserved", but currently they aren't
set to "reserved" at initialization. This patch makes hibernation work
again.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J . Hill <sjhill@realitydiluted.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12888/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/setup.c