]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
tools/libxc: drop xc_map_foreign_bulk_compat wrappers
authorIan Campbell <ian.campbell@citrix.com>
Thu, 18 Jun 2015 09:35:06 +0000 (10:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 22 Jan 2016 12:23:33 +0000 (12:23 +0000)
commit6c767a37825c041369fdce609d46c51bbc07656b
treea6b534da030b28fe79cd6f893b46bc9c08706617
parent3e9b0d540837c4641783adcc5449d3762469ff9d
tools/libxc: drop xc_map_foreign_bulk_compat wrappers

On Solaris and NetBSD xc_map_foreign_bulk is implemented by calling
xc_map_foreign_bulk_compat and xc_map_foreign_bulk_compat is exposed
as a symbol by libxenctrl.so.

Remove these wrappers and turn the compat function into the real thing
surrounded by the appropriate ifdef.

As this is a compat function all new ports should instead implement
xc_map_foreign_bulk properly, hence the ifdef should never be
expanded.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_foreign_memory.c
tools/libxc/xc_netbsd.c
tools/libxc/xc_private.h
tools/libxc/xc_solaris.c