ia64/xen-unstable

changeset 11297:1a3b883614b7

[XEN] Fix silly transposition typo in previous changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Aug 25 22:35:24 2006 +0100 (2006-08-25)
parents 86d26e6ec89b
children 5b9ff5e8653a
files xen/common/sched_credit.c
line diff
     1.1 --- a/xen/common/sched_credit.c	Fri Aug 25 18:39:10 2006 +0100
     1.2 +++ b/xen/common/sched_credit.c	Fri Aug 25 22:35:24 2006 +0100
     1.3 @@ -619,14 +619,14 @@ csched_dom_cntl(
     1.4      struct csched_dom * const sdom = CSCHED_DOM(d);
     1.5      unsigned long flags;
     1.6  
     1.7 -    if ( op->cmd == XEN_DOMCTL_SCHEDOP_putinfo )
     1.8 +    if ( op->cmd == XEN_DOMCTL_SCHEDOP_getinfo )
     1.9      {
    1.10          op->u.credit.weight = sdom->weight;
    1.11          op->u.credit.cap = sdom->cap;
    1.12      }
    1.13      else
    1.14      {
    1.15 -        ASSERT(op->cmd == XEN_DOMCTL_SCHEDOP_getinfo);
    1.16 +        ASSERT(op->cmd == XEN_DOMCTL_SCHEDOP_putinfo);
    1.17  
    1.18          spin_lock_irqsave(&csched_priv.lock, flags);
    1.19