diff options
author | Keir Fraser <keir@xen.org> | 2010-12-09 10:09:59 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-09 10:09:59 +0000 |
commit | 45dc0eb888d5c64f48e6a2faacfa76e41791475a (patch) | |
tree | fe5d750097b0e513c513511fbaa11a87246675d8 /xen/common/schedule.c | |
parent | 805a1afca3928a9ad96f67e797ff1e5003380ef8 (diff) | |
download | xen-45dc0eb888d5c64f48e6a2faacfa76e41791475a.tar.gz xen-45dc0eb888d5c64f48e6a2faacfa76e41791475a.tar.bz2 xen-45dc0eb888d5c64f48e6a2faacfa76e41791475a.zip |
Move IDLE_DOMAIN_ID defn to public header, and change DOMID_INVALID to fix clash.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/schedule.c')
-rw-r--r-- | xen/common/schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c index a59bf2ff8d..812b0d1a4f 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -1276,7 +1276,7 @@ void __init scheduler_init(void) if ( SCHED_OP(&ops, init) ) panic("scheduler returned error on init\n"); - idle_domain = domain_create(IDLE_DOMAIN_ID, 0, 0); + idle_domain = domain_create(DOMID_IDLE, 0, 0); BUG_ON(idle_domain == NULL); idle_domain->vcpu = idle_vcpu; idle_domain->max_vcpus = NR_CPUS; |