]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
hyperv: fix warning about missing prototype
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 5 Mar 2017 01:27:11 +0000 (18:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 06:10:48 +0000 (15:10 +0900)
Compiling with warnings enabled finds missing prototype for
hv_do_hypercall.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/hyperv/hv_init.c

index 8bef70e7f3cc6d242e7841bfa2404d182e5235cd..ecaa3f3b1923db4b1d8a274559e0b3ee8494f757 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/vmalloc.h>
 #include <linux/mm.h>
 #include <linux/clockchips.h>
-
+#include <linux/hyperv.h>
 
 #ifdef CONFIG_X86_64