summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/hyperv_utils.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2010-05-04 17:26:23 +0200
committerGreg Kroah-Hartman2010-05-11 20:36:04 +0200
commit9e629075ac694ab4d4971d4e62dfb749118bce70 (patch)
treedf8e16030c11c9f8365d545429436a570b9a5bed /drivers/staging/hv/hyperv_utils.c
parentStaging: hv: fix up formatting issues in utils.h (diff)
downloadkernel-qcow2-linux-9e629075ac694ab4d4971d4e62dfb749118bce70.tar.gz
kernel-qcow2-linux-9e629075ac694ab4d4971d4e62dfb749118bce70.tar.xz
kernel-qcow2-linux-9e629075ac694ab4d4971d4e62dfb749118bce70.zip
Staging: hv: delete ext_utils.c
A whole file just for a single line function call is beyond silly. Delete it and move the call into where it is being called. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/hyperv_utils.c')
-rw-r--r--drivers/staging/hv/hyperv_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/hyperv_utils.c b/drivers/staging/hv/hyperv_utils.c
index 2a4864784edc..ca52fbada7d1 100644
--- a/drivers/staging/hv/hyperv_utils.c
+++ b/drivers/staging/hv/hyperv_utils.c
@@ -23,6 +23,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sysctl.h>
+#include <linux/reboot.h>
#include <linux/version.h>
#include "logging.h"
@@ -103,7 +104,7 @@ void shutdown_onchannelcallback(void *context)
DPRINT_EXIT(VMBUS);
if (execute_shutdown == true)
- shutdown_linux_system();
+ orderly_poweroff(false);
}
static int __init init_hyperv_utils(void)