[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tmem: fix public header file
commit cc9a0f989f04f01c59c5d90748092811a760bd84 Author: Bob Liu <bob.liu@xxxxxxxxxx> AuthorDate: Fri Dec 6 15:58:00 2013 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Dec 6 15:58:00 2013 +0100 tmem: fix public header file Commit 006a687ba4de74d7933c09b43872abc19f126c63 dropped typedef tmem_cli_mfn_t from public tmem.h which may cause some problem. This patch added tmem_cli_mfn_t back with #ifdef __XEN_INTERFACE_VERSION__ around. Signed-off-by: Bob Liu <bob.liu@xxxxxxxxxx> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- xen/include/public/tmem.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/xen/include/public/tmem.h b/xen/include/public/tmem.h index dd685ee..5eb2fb4 100644 --- a/xen/include/public/tmem.h +++ b/xen/include/public/tmem.h @@ -95,6 +95,9 @@ #ifndef __ASSEMBLY__ +#if __XEN_INTERFACE_VERSION__ < 0x00040400 +typedef xen_pfn_t tmem_cli_mfn_t; +#endif typedef XEN_GUEST_HANDLE(char) tmem_cli_va_t; struct tmem_op { uint32_t cmd; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |