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-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ae2a0b42bfe6e7eb9251bfb05f7a03008df446a8;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git 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); } /*