Skip to content

Commit 407dd16

Browse files
committed
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>
1 parent 46a9719 commit 407dd16

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

‎drivers/hv/connection.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include <linux/slab.h>
3131
#include <linux/vmalloc.h>
3232
#include <linux/hyperv.h>
33-
33+
#include <asm/hyperv.h>
3434
#include "hyperv_vmbus.h"
3535

3636

‎drivers/hv/hv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <linux/slab.h>
2727
#include <linux/vmalloc.h>
2828
#include <linux/hyperv.h>
29-
29+
#include <asm/hyperv.h>
3030
#include "hyperv_vmbus.h"
3131

3232
/* The one and only */

‎drivers/hv/vmbus_drv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <acpi/acpi_bus.h>
3434
#include <linux/completion.h>
3535
#include <linux/hyperv.h>
36-
36+
#include <asm/hyperv.h>
3737
#include "hyperv_vmbus.h"
3838

3939

‎include/linux/hyperv.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
#include <linux/mod_devicetable.h>
3636

3737

38-
#include <asm/hyperv.h>
39-
40-
4138
#define MAX_PAGE_BUFFER_COUNT 16
4239
#define MAX_MULTIPAGE_BUFFER_COUNT 32 /* 128K */
4340

0 commit comments

Comments
 (0)