>>> On 17.08.17 at 16:44, <wei.l...@citrix.com> wrote: > And at once make it an inline function. Add declarations of > replace_grant_{hvm,pv}_mapping to respective header files.
Same remark on function name. > @@ -38,6 +40,12 @@ static inline int create_grant_p2m_mapping(uint64_t addr, > unsigned long frame, > return GNTST_general_error; > } > > +int replace_grant_p2m_mapping(uint64_t addr, unsigned long frame, > + uint64_t new_addr, unsigned int flags) static inline > @@ -37,6 +39,12 @@ static inline int create_grant_pv_mapping(uint64_t addr, > unsigned long frame, > return GNTST_general_error; > } > > +int replace_grant_pv_mapping(uint64_t addr, unsigned long frame, > + uint64_t new_addr, unsigned int flags) Again. With these taken care of Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel