From: Rafael J. Wysocki Date: Mon, 1 Sep 2014 11:47:49 +0000 (+0200) Subject: PM / sleep: Mechanism for aborting system suspends unconditionally X-Git-Tag: fixes-against-v3.18-rc2~138^2~8^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068765ba7987e73d4381edfe47b70aa121c7155c;p=pandora-kernel.git PM / sleep: Mechanism for aborting system suspends unconditionally It sometimes may be necessary to abort a system suspend in progress or wake up the system from suspend-to-idle even if the pm_wakeup_event()/pm_stay_awake() mechanism is not enabled. For this purpose, introduce a new global variable pm_abort_suspend and make pm_wakeup_pending() check its value. Also add routines for manipulating that variable. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed