# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1181051018 -32400 # Node ID 3d3656528c8fa62896b744d2441033ff7d72a122 # Parent 6278e52f8cb6aa4c61635acf7a324b5d7c288eb5 xencomm support for GNTTABOP_unmap_and_replace PATCHNAME: xencomm_unmap_and_replace Signed-off-by: Isaku Yamahata diff -r 6278e52f8cb6 -r 3d3656528c8f linux-2.6-xen-sparse/arch/ia64/xen/xcom_hcall.c --- a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_hcall.c Tue Jun 05 23:19:43 2007 +0900 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_hcall.c Tue Jun 05 22:43:38 2007 +0900 @@ -105,6 +105,7 @@ xencommize_grant_table_op(unsigned int c switch (cmd) { case GNTTABOP_map_grant_ref: case GNTTABOP_unmap_grant_ref: + case GNTTABOP_unmap_and_replace: break; case GNTTABOP_setup_table: { diff -r 6278e52f8cb6 -r 3d3656528c8f linux-2.6-xen-sparse/arch/ia64/xen/xcom_mini.c --- a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_mini.c Tue Jun 05 23:19:43 2007 +0900 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_mini.c Tue Jun 05 22:43:38 2007 +0900 @@ -70,6 +70,9 @@ xencommize_mini_grant_table_op(struct xe case GNTTABOP_unmap_grant_ref: argsize = sizeof(struct gnttab_unmap_grant_ref); break; + case GNTTABOP_unmap_and_replace: + argsize = sizeof(struct gnttab_unmap_and_replace); + break; case GNTTABOP_setup_table: { struct gnttab_setup_table *setup = op;