On Wed, Mar 23, 2011 at 12:36, Alexander Graf <ag...@suse.de> wrote: >> +/* Compatibility with older version */ >> +#if __XEN_LATEST_INTERFACE_VERSION__ < 0x0003020a >> +# define xen_vcpu_eport(shared_page, i) \ >> + (shared_page->vcpu_iodata[i].vp_eport) >> +# define xen_vcpu_ioreq(shared_page, vcpu) \ >> + (shared_page->vcpu_iodata[vcpu].vp_ioreq) >> +# define FMT_ioreq_size PRIx64 >> +#else >> +# define xen_vcpu_eport(shared_page, i) \ >> + (shared_page->vcpu_ioreq[i].vp_eport) >> +# define xen_vcpu_ioreq(shared_page, vcpu) \ >> + (shared_page->vcpu_ioreq[vcpu]) > > Could you please change these to static inline functions?
Yes, I will do that. Regards, -- Anthony PERARD