# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1181051018 -32400 # Node ID b9f881233e6a426bc1a7fa4456761bebda704441 # Parent 563867f514df8d27cc171ae63a21773ebc01fcdf xencomm support for GNTTABOP_unmap_and_replace PATCHNAME: xencomm_unmap_and_replace Signed-off-by: Isaku Yamahata diff -r 563867f514df -r b9f881233e6a arch/ia64/xen/xcom_hcall.c --- a/arch/ia64/xen/xcom_hcall.c Tue Jun 05 15:44:51 2007 +0900 +++ b/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 563867f514df -r b9f881233e6a arch/ia64/xen/xcom_mini.c --- a/arch/ia64/xen/xcom_mini.c Tue Jun 05 15:44:51 2007 +0900 +++ b/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;