X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fxen%2Finterface%2Fxen-compat.h;h=89f7bd487a423cec92130b0c9664d27e88bb834d;hb=80e3949c1f04888da4f1a229f053e5f2f8bcb628;hp=65cd7443fdf718c64e850c0ac766d71fd199705e;hpb=1a79f0f3331294fd3a9416fcabbf24470955e314;p=linux-2.6.git diff --git a/include/xen/interface/xen-compat.h b/include/xen/interface/xen-compat.h index 65cd7443f..89f7bd487 100644 --- a/include/xen/interface/xen-compat.h +++ b/include/xen/interface/xen-compat.h @@ -9,7 +9,7 @@ #ifndef __XEN_PUBLIC_XEN_COMPAT_H__ #define __XEN_PUBLIC_XEN_COMPAT_H__ -#define __XEN_LATEST_INTERFACE_VERSION__ 0x00030202 +#define __XEN_LATEST_INTERFACE_VERSION__ 0x00030204 #if defined(__XEN__) || defined(__XEN_TOOLS__) /* Xen is built with matching headers and implements the latest interface. */ @@ -23,25 +23,4 @@ #error "These header files do not support the requested interface version." #endif -/* New sched_op hypercall introduced in 0x00030101. */ -#if __XEN_INTERFACE_VERSION__ < 0x00030101 -#undef __HYPERVISOR_sched_op -#define __HYPERVISOR_sched_op __HYPERVISOR_sched_op_compat -#endif - -/* Structural guest handles introduced in 0x00030201. */ -#if __XEN_INTERFACE_VERSION__ < 0x00030201 -#undef __DEFINE_XEN_GUEST_HANDLE -#define __DEFINE_XEN_GUEST_HANDLE(name, type) \ - typedef type * __guest_handle_ ## name -#endif - -/* New event-channel and physdev hypercalls introduced in 0x00030202. */ -#if __XEN_INTERFACE_VERSION__ < 0x00030202 -#undef __HYPERVISOR_event_channel_op -#define __HYPERVISOR_event_channel_op __HYPERVISOR_event_channel_op_compat -#undef __HYPERVISOR_physdev_op -#define __HYPERVISOR_physdev_op __HYPERVISOR_physdev_op_compat -#endif - #endif /* __XEN_PUBLIC_XEN_COMPAT_H__ */