Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09d50ff8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 51b671f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,8 +22,8 @@
 */


#include "osd.h"
#include "logging.h"
#include "include/osd.h"
#include "include/logging.h"

#include "VmbusPrivate.h"

+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
#ifndef _CHANNEL_H_
#define _CHANNEL_H_

#include "osd.h"
#include "include/osd.h"
#include "ChannelMgmt.h"

#pragma pack(push,1)
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
#ifndef _CHANNEL_INTERFACE_H_
#define _CHANNEL_INTERFACE_H_

#include "VmbusApi.h"
#include "include/VmbusApi.h"

INTERNAL void
GetChannelInterface(
+2 −2
Original line number Diff line number Diff line
@@ -22,8 +22,8 @@
 */


#include "osd.h"
#include "logging.h"
#include "include/osd.h"
#include "include/logging.h"

#include "VmbusPrivate.h"

+4 −4
Original line number Diff line number Diff line
@@ -25,12 +25,12 @@
#ifndef _CHANNEL_MGMT_H_
#define _CHANNEL_MGMT_H_

#include "osd.h"
#include "List.h"
#include "include/osd.h"
#include "include/List.h"
#include "RingBuffer.h"

#include "VmbusChannelInterface.h"
#include "ChannelMessages.h"
#include "include/VmbusChannelInterface.h"
#include "include/ChannelMessages.h"



Loading