git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xen/events: initialize local per-cpu mask for all possible events
[pandora-kernel.git]
/
drivers
/
xen
/
events.c
diff --git
a/drivers/xen/events.c
b/drivers/xen/events.c
index
11d7b64
..
58236dd
100644
(file)
--- a/
drivers/xen/events.c
+++ b/
drivers/xen/events.c
@@
-316,7
+316,7
@@
static void init_evtchn_cpu_bindings(void)
for_each_possible_cpu(i)
memset(per_cpu(cpu_evtchn_mask, i),
- (i == 0) ? ~0 : 0,
sizeof(*per_cpu(cpu_evtchn_mask, i))
);
+ (i == 0) ? ~0 : 0,
NR_EVENT_CHANNELS/8
);
}
static inline void clear_evtchn(int port)