From: Daniel De Graaf Date: Wed, 14 Dec 2011 20:12:10 +0000 (-0500) Subject: xenbus: Use grant-table wrapper functions X-Git-Tag: v3.3-rc1~129^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2946a52ac7d57c9d02db477e3684259d86446ea7;p=pandora-kernel.git xenbus: Use grant-table wrapper functions For xenbus_{map,unmap}_ring to work on HVM, the grant table operations must be set up using the gnttab_set_{map,unmap}_op functions instead of directly populating the fields of gnttab_map_grant_ref. These functions simply populate the structure on paravirtualized Xen; however, on HVM they must call __pa() on vaddr when populating op->host_addr because the hypervisor cannot directly interpret guest-virtual addresses. Signed-off-by: Daniel De Graaf [v1: Fixed cleanpatch error] Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed