msm: sysmon: recognize ungraceful shutdowns
The sysmon_send_shutdown() API sends a shutdown request to a subsystem
and reads the response. The response is expected to be simply an
acknowledgment that the subsystem has received the request.
Change-Id: Ic68ee69434a2a2f6ea4f88b4f7aa73dfe3cca90b
Signed-off-by: Joel King <joelking@codeaurora.org>
Conflicts:
arch/arm/mach-msm/sysmon.c
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/arch/arm/mach-msm/sysmon.h b/arch/arm/mach-msm/sysmon.h
index 439c617..8c2f6ea 100644
--- a/arch/arm/mach-msm/sysmon.h
+++ b/arch/arm/mach-msm/sysmon.h
@@ -51,6 +51,10 @@
{
return 0;
}
+static inline int sysmon_send_shutdown(enum subsys_id dest_ss)
+{
+ return 0;
+}
#endif
#endif