From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH] kdd: Opt in to libxc compat xc_map_foreign_* intefaces. Date: Mon, 25 Jan 2016 12:45:32 +0000 Message-ID: <1453725932-11053-1-git-send-email-ian.campbell@citrix.com> References: <1453725846.4320.150.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1453725846.4320.150.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: tim@xen.org Cc: wei.liu2@citrix.com, Olaf Hering , ian.jackson@eu.citrix.com, Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This: kdd-xen.c: In function 'kdd_access_physical_page': kdd-xen.c:508:9: warning: implicit declaration of function 'xc_map_foreign_range' [-Wimplicit-function-declaration] map = xc_map_foreign_range(g->xc_handle, ^ kdd-xen.c:508:13: warning: assignment makes pointer from integer without a cast map = xc_map_foreign_range(g->xc_handle, ^ was caused by the refactoring of this functionality into libxenforeignmemory. Reported by: Olaf Hering Signed-off-by: Ian Campbell Cc: Tim Deegan --- tools/debugger/kdd/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/debugger/kdd/Makefile b/tools/debugger/kdd/Makefile index a79d7cf..72ad1b9 100644 --- a/tools/debugger/kdd/Makefile +++ b/tools/debugger/kdd/Makefile @@ -2,6 +2,7 @@ XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/Rules.mk CFLAGS += $(CFLAGS_libxenctrl) +CFLAGS += -DXC_WANT_COMPAT_MAP_FOREIGN_API LDLIBS += $(LDLIBS_libxenctrl) CFILES := kdd.c kdd-xen.c -- 2.6.1