direct-io.hg

changeset 11340:40f6fdb68fa9

[IA64] Fixes for dom0_ops changes

Fix typo and update op names

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Sun Aug 27 10:25:39 2006 -0600 (2006-08-27)
parents c4ea8d4d2ae1
children a19dbbe4cff5
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Sun Aug 27 10:24:41 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Sun Aug 27 10:25:39 2006 -0600
     1.3 @@ -615,7 +615,7 @@ domain_set_shared_info_va (unsigned long
     1.4  /* Transfer and clear the shadow bitmap in 1kB chunks for L1 cache. */
     1.5  #define SHADOW_COPY_CHUNK (1024 / sizeof (unsigned long))
     1.6  
     1.7 -int shadow_mode_control(struct domain *d, xen_domctl_shadow_ops_t *sc)
     1.8 +int shadow_mode_control(struct domain *d, xen_domctl_shadow_op_t *sc)
     1.9  {
    1.10  	unsigned int op = sc->op;
    1.11  	int          rc = 0;
    1.12 @@ -740,10 +740,10 @@ int shadow_mode_control(struct domain *d
    1.13  		}
    1.14  		break;
    1.15  	}
    1.16 -	case DOM0_SHADOW_CONTROL_OP_GET_ALLOCATION:
    1.17 +	case XEN_DOMCTL_SHADOW_OP_GET_ALLOCATION:
    1.18  		sc->mb = 0;
    1.19  		break;
    1.20 -	case DOM0_SHADOW_CONTROL_OP_SET_ALLOCATION:
    1.21 +	case XEN_DOMCTL_SHADOW_OP_SET_ALLOCATION:
    1.22  		if (sc->mb > 0) {
    1.23  			BUG();
    1.24  			rc = -ENOMEM;