From: K. Y. Srinivasan Date: Sat, 27 Aug 2011 18:31:30 +0000 (-0700) Subject: Staging: hv: util: Forcefully shutdown when shutdown is requested X-Git-Tag: v3.2-rc1~169^2^2~832 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=ae2a0b42bfe6e7eb9251bfb05f7a03008df446a8 Staging: hv: util: Forcefully shutdown when shutdown is requested When the host requests a "shutdown", make sure we shutdown! Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hv_util.c b/drivers/staging/hv/hv_util.c index f2f456f5e444..876d44a8a861 100644 --- a/drivers/staging/hv/hv_util.c +++ b/drivers/staging/hv/hv_util.c @@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context) } if (execute_shutdown == true) - orderly_poweroff(false); + orderly_poweroff(true); } /*