Kill indirect include of file.h from eventfd.h, use fdget() in cgroup.c
[linux-2.6-block.git] / include / linux / hyperv.h
index fae8bac907efc1ea49342f3af9c3fff0c0c53d7a..a3b8b2e2d24438129df020cc8d7af78562123cad 100644 (file)
 
 #include <linux/types.h>
 
+/*
+ * Framework version for util services.
+ */
+
+#define UTIL_FW_MAJOR  3
+#define UTIL_FW_MINOR  0
+#define UTIL_FW_MAJOR_MINOR     (UTIL_FW_MAJOR << 16 | UTIL_FW_MINOR)
+
 
 /*
  * Implementation of host controlled snapshot of the guest.
@@ -455,27 +463,6 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi,
        *read = dsize - *write;
 }
 
-
-/*
- * We use the same version numbering for all Hyper-V modules.
- *
- * Definition of versioning is as follows;
- *
- *     Major Number    Changes for these scenarios;
- *                     1.      When a new version of Windows Hyper-V
- *                             is released.
- *                     2.      A Major change has occurred in the
- *                             Linux IC's.
- *                     (For example the merge for the first time
- *                     into the kernel) Every time the Major Number
- *                     changes, the Revision number is reset to 0.
- *     Minor Number    Changes when new functionality is added
- *                     to the Linux IC's that is not a bug fix.
- *
- * 3.1 - Added completed hv_utils driver. Shutdown/Heartbeat/Timesync
- */
-#define HV_DRV_VERSION           "3.1"
-
 /*
  * VMBUS version is 32 bit entity broken up into
  * two 16 bit quantities: major_number. minor_number.
@@ -1494,7 +1481,7 @@ struct hyperv_service_callback {
 };
 
 #define MAX_SRV_VER    0x7ffffff
-extern void vmbus_prep_negotiate_resp(struct icmsg_hdr *,
+extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *,
                                        struct icmsg_negotiate *, u8 *, int,
                                        int);