From: Len Brown Date: Fri, 31 Jul 2015 16:46:17 +0000 (-0400) Subject: PM / suspend: make sync() on suspend-to-RAM build-time optional X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd77fff4b440c29b48c31db0ce2aec7d319959f;p=pandora-kernel.git PM / suspend: make sync() on suspend-to-RAM build-time optional The Linux kernel suspend path has traditionally invoked sys_sync() before freezing user threads. But sys_sync() can be expensive, and some user-space OS's do not want the kernel to pay the cost of sys_sync() on every suspend -- preferring invoke sync() from user-space if/when they want it. So make sys_sync on suspend build-time optional. The default is unchanged. Signed-off-by: Len Brown Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed