diff options
author | Greg Kroah-Hartman | 2010-05-04 17:26:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-05-11 20:36:04 +0200 |
commit | 9e629075ac694ab4d4971d4e62dfb749118bce70 (patch) | |
tree | df8e16030c11c9f8365d545429436a570b9a5bed /drivers/staging/hv/hyperv_utils.c | |
parent | Staging: hv: fix up formatting issues in utils.h (diff) | |
download | kernel-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.c | 3 |
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) |