summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/osd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-07-14 02:09:34 +0200
committerGreg Kroah-Hartman2009-09-15 21:01:44 +0200
commit09d50ff8a233a39e8697e776b06cf5be2de48bb1 (patch)
tree2c46d9fc92516c29cca36e5866ee4995e1bd44f1 /drivers/staging/hv/osd.c
parentStaging: hv: add a TODO file (diff)
downloadkernel-qcow2-linux-09d50ff8a233a39e8697e776b06cf5be2de48bb1.tar.gz
kernel-qcow2-linux-09d50ff8a233a39e8697e776b06cf5be2de48bb1.tar.xz
kernel-qcow2-linux-09d50ff8a233a39e8697e776b06cf5be2de48bb1.zip
Staging: hv: make the Hyper-V virtual bus code build
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include directories a bit to get things to build properly. I also fixed up the direct access of bus_id, as that field is now gone. The hv_vmbus code should now build properly, with no errors. 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/osd.c')
-rw-r--r--drivers/staging/hv/osd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c
index 83885252049f..bfb2c8e97d75 100644
--- a/drivers/staging/hv/osd.c
+++ b/drivers/staging/hv/osd.c
@@ -21,6 +21,7 @@
*
*/
+#define KERNEL_2_6_27
#include <linux/module.h>
#include <linux/init.h>
@@ -46,7 +47,7 @@
#include <asm/kmap_types.h>
#include <asm/atomic.h>
-#include "osd.h"
+#include "include/osd.h"
//
// Data types