Skip to content
Commit 3fe0313e authored by Zhang Rui's avatar Zhang Rui Committed by Len Brown
Browse files

Hibernate: Call platform_begin before swsusp_shrink_memory



Call platform_begin() before swsusp_shrink_memory() so that we can
always allocate enough memory to save the ACPI NVS region from
platform_begin().

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Acked-by: default avatarNigel Cunningham <nigel@tuxonice.net>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 929096fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment