[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix MAX_EVTCHNS() definition.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1237296106 0
# Node ID 2dcdd2fcb945c66ad3b8fcb91d19a9b5115b30f1
# Parent  09253da8f1c17d125127895154bc851ac6d40aba
Fix MAX_EVTCHNS() definition.

Pointed out by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/include/xen/sched.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 09253da8f1c1 -r 2dcdd2fcb945 xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Tue Mar 17 10:50:16 2009 +0000
+++ b/xen/include/xen/sched.h   Tue Mar 17 13:21:46 2009 +0000
@@ -34,7 +34,7 @@ extern struct domain *dom0;
 #else
 #define BITS_PER_EVTCHN_WORD(d) (has_32bit_shinfo(d) ? 32 : BITS_PER_LONG)
 #endif
-#define MAX_EVTCHNS(d) (BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d) * 64)
+#define MAX_EVTCHNS(d) (BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d))
 #define EVTCHNS_PER_BUCKET 128
 #define NR_EVTCHN_BUCKETS  (NR_EVENT_CHANNELS / EVTCHNS_PER_BUCKET)
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.