ia64/xen-unstable

changeset 19370:2dcdd2fcb945

Fix MAX_EVTCHNS() definition.

Pointed out by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 17 13:21:46 2009 +0000 (2009-03-17)
parents 09253da8f1c1
children 0b1ce09f4577
files xen/include/xen/sched.h
line diff
     1.1 --- a/xen/include/xen/sched.h	Tue Mar 17 10:50:16 2009 +0000
     1.2 +++ b/xen/include/xen/sched.h	Tue Mar 17 13:21:46 2009 +0000
     1.3 @@ -34,7 +34,7 @@ extern struct domain *dom0;
     1.4  #else
     1.5  #define BITS_PER_EVTCHN_WORD(d) (has_32bit_shinfo(d) ? 32 : BITS_PER_LONG)
     1.6  #endif
     1.7 -#define MAX_EVTCHNS(d) (BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d) * 64)
     1.8 +#define MAX_EVTCHNS(d) (BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d))
     1.9  #define EVTCHNS_PER_BUCKET 128
    1.10  #define NR_EVTCHN_BUCKETS  (NR_EVENT_CHANNELS / EVTCHNS_PER_BUCKET)
    1.11