aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-05-12 19:34:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-17 12:27:05 -0700
commit43c698b927733dc060cabc7ebca2df3ec228e05d (patch)
treeb4bb31c9bacf94568026c0fc31293ab0c8c65ace /drivers/staging/hv
parentStaging: hv: vmbus_drv: Move the contents of vmbus_private.h to vmbus_hyperv.h (diff)
downloadlinux-dev-43c698b927733dc060cabc7ebca2df3ec228e05d.tar.xz
linux-dev-43c698b927733dc060cabc7ebca2df3ec228e05d.zip
Staging: hv: vmbus_drv: Cleanup hyperv_vmbus.h
Cleanup hyperv_vmbus.h. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r--drivers/staging/hv/hyperv_vmbus.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/staging/hv/hyperv_vmbus.h b/drivers/staging/hv/hyperv_vmbus.h
index ac1a76c3011c..bf30a425b643 100644
--- a/drivers/staging/hv/hyperv_vmbus.h
+++ b/drivers/staging/hv/hyperv_vmbus.h
@@ -25,6 +25,12 @@
#ifndef _HYPERV_VMBUS_H
#define _HYPERV_VMBUS_H
+#include <linux/list.h>
+#include <asm/sync_bitops.h>
+#include <linux/atomic.h>
+
+#include "hyperv.h"
+
/*
* The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent
* is set by CPUID(HVCPUID_VERSION_FEATURES).
@@ -529,11 +535,6 @@ void hv_dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix);
void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
struct hv_ring_buffer_debug_info *debug_info);
-#include "hyperv.h"
-#include <linux/list.h>
-#include <asm/sync_bitops.h>
-
-
/*
* Maximum channels is determined by the size of the interrupt page
* which is PAGE_SIZE. 1/2 of PAGE_SIZE is for send endpoint interrupt