ia64/xen-unstable

changeset 14339:1a01d8d9dbec

Revert 14316 -- no need to fix maxvcpu domctl.
author kfraser@localhost.localdomain
date Fri Mar 09 18:26:22 2007 +0000 (2007-03-09)
parents 6ff2a1286484
children 215b799fa181
files xen/common/domctl.c
line diff
     1.1 --- a/xen/common/domctl.c	Fri Mar 09 16:04:19 2007 +0000
     1.2 +++ b/xen/common/domctl.c	Fri Mar 09 18:26:22 2007 +0000
     1.3 @@ -360,7 +360,7 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domc
     1.4          unsigned int i, max = op->u.max_vcpus.max, cpu;
     1.5  
     1.6          ret = -EINVAL;
     1.7 -        if ( max > MAX_VIRT_CPUS || max == 0 )
     1.8 +        if ( max > MAX_VIRT_CPUS )
     1.9              break;
    1.10  
    1.11          ret = -ESRCH;