From: Tycho Andersen Date: Mon, 18 Sep 2017 22:35:32 +0000 (-0600) Subject: xen, arm64: drop dummy lookup_address() X-Git-Tag: v4.14-rc2~23^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0555ac4333d7da7cff83d5b06bd3679a3e1ef584;p=platform%2Fkernel%2Flinux-exynos.git xen, arm64: drop dummy lookup_address() This is unused, and conflicts with the definition that we'll add for XPFO. Signed-off-by: Tycho Andersen Reviewed-by: Julien Grall CC: Boris Ostrovsky CC: Juergen Gross CC: Stefano Stabellini Signed-off-by: Boris Ostrovsky --- diff --git a/include/xen/arm/page.h b/include/xen/arm/page.h index 415dbc6..6adc2a9 100644 --- a/include/xen/arm/page.h +++ b/include/xen/arm/page.h @@ -84,16 +84,6 @@ static inline xmaddr_t arbitrary_virt_to_machine(void *vaddr) BUG(); } -/* TODO: this shouldn't be here but it is because the frontend drivers - * are using it (its rolled in headers) even though we won't hit the code path. - * So for right now just punt with this. - */ -static inline pte_t *lookup_address(unsigned long address, unsigned int *level) -{ - BUG(); - return NULL; -} - extern int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, struct gnttab_map_grant_ref *kmap_ops, struct page **pages, unsigned int count);