ia64/xen-unstable

changeset 1276:4ed5e97d4286

bitkeeper revision 1.840 (406fb762yj36s7Fm0uyl3kIEsKNlTw)

xc_domain.c, xc.h:
Fix a build warning.
author kaf24@scramble.cl.cam.ac.uk
date Sun Apr 04 07:21:06 2004 +0000 (2004-04-04)
parents a15ca0468c7b
children 0e65a6b3d2bd
files tools/xc/lib/xc.h tools/xc/lib/xc_domain.c
line diff
     1.1 --- a/tools/xc/lib/xc.h	Sat Apr 03 16:28:51 2004 +0000
     1.2 +++ b/tools/xc/lib/xc.h	Sun Apr 04 07:21:06 2004 +0000
     1.3 @@ -53,6 +53,10 @@ int xc_domain_getinfo(int xc_handle,
     1.4                        unsigned int max_doms,
     1.5                        xc_dominfo_t *info);
     1.6  
     1.7 +int xc_shadow_control(int xc_handle,
     1.8 +                      u64 domid, 
     1.9 +                      unsigned int sop);
    1.10 +
    1.11  int xc_linux_save(int xc_handle,
    1.12                    u64 domid, 
    1.13                    const char *state_file, 
    1.14 @@ -83,7 +87,7 @@ int xc_bvtsched_domain_set(int xc_handle
    1.15                             unsigned long warpu);
    1.16  
    1.17  int xc_bvtsched_global_get(int xc_handle,
    1.18 -			   unsigned long *ctx_allow);
    1.19 +                           unsigned long *ctx_allow);
    1.20  
    1.21  int xc_bvtsched_domain_get(int xc_handle,
    1.22                             u64 domid,
    1.23 @@ -93,20 +97,18 @@ int xc_bvtsched_domain_get(int xc_handle
    1.24                             unsigned long *warpu);
    1.25  
    1.26  int xc_atropos_domain_set(int xc_handle,
    1.27 -			  u64 domid,
    1.28 -			  u64 period, u64 slice, u64 latency,
    1.29 -			  int xtratime);
    1.30 +                          u64 domid,
    1.31 +                          u64 period, u64 slice, u64 latency,
    1.32 +                          int xtratime);
    1.33  
    1.34  int xc_atropos_domain_get(int xc_handle,
    1.35                            u64 domid,
    1.36                            u64* period, u64 *slice, u64 *latency,
    1.37                            int *xtratime);
    1.38  
    1.39 -int xc_rrobin_global_set(int xc_handle,
    1.40 -			 u64 slice);
    1.41 +int xc_rrobin_global_set(int xc_handle, u64 slice);
    1.42  
    1.43 -int xc_rrobin_global_get(int xc_handle,
    1.44 -                         u64 *slice);
    1.45 +int xc_rrobin_global_get(int xc_handle, u64 *slice);
    1.46  
    1.47  typedef struct {
    1.48      unsigned long credit_bytes;
    1.49 @@ -231,6 +233,6 @@ int xc_readconsolering(int xc_handle,
    1.50                         int clear);
    1.51  
    1.52  int xc_physinfo(int xc_handle,
    1.53 -		xc_physinfo_t *info);
    1.54 +                xc_physinfo_t *info);
    1.55  
    1.56  #endif /* __XC_H__ */
     2.1 --- a/tools/xc/lib/xc_domain.c	Sat Apr 03 16:28:51 2004 +0000
     2.2 +++ b/tools/xc/lib/xc_domain.c	Sun Apr 04 07:21:06 2004 +0000
     2.3 @@ -104,12 +104,12 @@ int xc_domain_getinfo(int xc_handle,
     2.4  }
     2.5  
     2.6  int xc_shadow_control(int xc_handle,
     2.7 -                     u64 domid, 
     2.8 -                     unsigned int sop)
     2.9 +                      u64 domid, 
    2.10 +                      unsigned int sop)
    2.11  {
    2.12      dom0_op_t op;
    2.13      op.cmd = DOM0_SHADOW_CONTROL;
    2.14      op.u.shadow_control.domain = (domid_t)domid;
    2.15 -    op.u.shadow_control.op  = sop;
    2.16 +    op.u.shadow_control.op     = sop;
    2.17      return do_dom0_op(xc_handle, &op);
    2.18  }