Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: hv: remove unneeded asm include file in hyperv.h

No one outside of the hyperv core needs to include the asm/hyperv.h
file, so don't put it in the "global" include/linux/hyperv.h file.

Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+3 -6
+1 -1
drivers/hv/connection.c
··· 30 30 #include <linux/slab.h> 31 31 #include <linux/vmalloc.h> 32 32 #include <linux/hyperv.h> 33 - 33 + #include <asm/hyperv.h> 34 34 #include "hyperv_vmbus.h" 35 35 36 36
+1 -1
drivers/hv/hv.c
··· 26 26 #include <linux/slab.h> 27 27 #include <linux/vmalloc.h> 28 28 #include <linux/hyperv.h> 29 - 29 + #include <asm/hyperv.h> 30 30 #include "hyperv_vmbus.h" 31 31 32 32 /* The one and only */
+1 -1
drivers/hv/vmbus_drv.c
··· 33 33 #include <acpi/acpi_bus.h> 34 34 #include <linux/completion.h> 35 35 #include <linux/hyperv.h> 36 - 36 + #include <asm/hyperv.h> 37 37 #include "hyperv_vmbus.h" 38 38 39 39
-3
include/linux/hyperv.h
··· 35 35 #include <linux/mod_devicetable.h> 36 36 37 37 38 - #include <asm/hyperv.h> 39 - 40 - 41 38 #define MAX_PAGE_BUFFER_COUNT 16 42 39 #define MAX_MULTIPAGE_BUFFER_COUNT 32 /* 128K */ 43 40