#define MODULE_VERSION(_version) MODULE_INFO(version, _version)
#endif
+/*
+ * Linux kernel < 2.6.31 takes 'int' for 'bool' module parameters.
+ * Linux kernel >= 3.3.0 takes 'bool' for 'bool' module parameters.
+ * Kernels between the two take either. So flip switch at 3.0.0.
+ */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0)
+ typedef bool compat_mod_param_bool;
+#else
+ typedef int compat_mod_param_bool;
+#endif
+
#endif /* __COMPAT_MODULE_H__ */
# define VMCI_DISABLE_MSIX 1
#endif
-/*
- * Linux kernel < 2.6.31 takes 'int' for 'bool' module parameters.
- * Linux kernel >= 3.3.0 takes 'bool' for 'bool' module parameters.
- * Kernels between the two take either. So flip switch at 3.0.0.
- */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0)
- typedef bool compat_bool;
-#else
- typedef int compat_bool;
-#endif
-
static vmci_device vmci_dev;
-static compat_bool vmci_disable_host = 0;
-static compat_bool vmci_disable_guest = 0;
-static compat_bool vmci_disable_msi;
-static compat_bool vmci_disable_msix = VMCI_DISABLE_MSIX;
+static compat_mod_param_bool vmci_disable_host = 0;
+static compat_mod_param_bool vmci_disable_guest = 0;
+static compat_mod_param_bool vmci_disable_msi;
+static compat_mod_param_bool vmci_disable_msix = VMCI_DISABLE_MSIX;
DECLARE_TASKLET(vmci_dg_tasklet, dispatch_datagrams,
(unsigned long)&vmci_dev);
#ifndef _VMCI_VERSION_H_
#define _VMCI_VERSION_H_
-#define VMCI_DRIVER_VERSION 9.5.14.0
-#define VMCI_DRIVER_VERSION_COMMAS 9,5,14,0
-#define VMCI_DRIVER_VERSION_STRING "9.5.14.0"
+#define VMCI_DRIVER_VERSION 9.5.15.0
+#define VMCI_DRIVER_VERSION_COMMAS 9,5,15,0
+#define VMCI_DRIVER_VERSION_STRING "9.5.15.0"
#endif /* _VMCI_VERSION_H_ */