projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c7288
)
Fix MAX_EVTCHNS() definition.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 17 Mar 2009 13:21:46 +0000
(13:21 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 17 Mar 2009 13:21:46 +0000
(13:21 +0000)
Pointed out by Jan Beulich.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/include/xen/sched.h
patch
|
blob
|
history
diff --git
a/xen/include/xen/sched.h
b/xen/include/xen/sched.h
index 9b58a7b64b4920945bc77f6560d5786cebf4d4e2..5978985c42fa679b13bed8c10ba4cc5f99280f61 100644
(file)
--- a/
xen/include/xen/sched.h
+++ b/
xen/include/xen/sched.h
@@
-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)