Not present in any stable release of Xen. Introduced for qemu-dm but
not needed.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
spin_unlock(&d->grant_table->lock);
break;
- case XENMAPSPACE_gmfn:
- xatp.idx = gmfn_to_mfn(d, xatp.idx);
- case XENMAPSPACE_mfn: {
+ case XENMAPSPACE_gmfn: {
struct xen_ia64_memmap_info memmap_info;
efi_memory_desc_t md;
int ret;
+ xatp.idx = gmfn_to_mfn(d, xatp.idx);
if ( !get_page_from_pagenr(xatp.idx, d) )
break;
break;
case XENMAPSPACE_gmfn:
xatp.idx = gmfn_to_mfn(d, xatp.idx);
- case XENMAPSPACE_mfn:
if ( !get_page_from_pagenr(xatp.idx, d) )
break;
mfn = xatp.idx;
/* Source mapping space. */
#define XENMAPSPACE_shared_info 0 /* shared info page */
#define XENMAPSPACE_grant_table 1 /* grant table page */
-#define XENMAPSPACE_mfn 2 /* MFN */
-#define XENMAPSPACE_gmfn 3 /* GMFN */
+#define XENMAPSPACE_gmfn 2 /* GMFN */
unsigned int space;
/* Index into source mapping space. */