diff --git a/[refs] b/[refs] index 7957968748af..7369d5699f73 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 789d03f584484af85dbdc64935270c8e45f36ef7 +refs/heads/master: a70c352a37671fe1ebcbd317b439aa4760f4ccb7 diff --git a/trunk/drivers/xen/events.c b/trunk/drivers/xen/events.c index 891d2e90753a..abad71b1632b 100644 --- a/trunk/drivers/xen/events.c +++ b/trunk/drivers/xen/events.c @@ -927,9 +927,9 @@ static struct irq_chip xen_dynamic_chip __read_mostly = { void __init xen_init_IRQ(void) { int i; - size_t size = nr_cpu_ids * sizeof(struct cpu_evtchn_s); - cpu_evtchn_mask_p = alloc_bootmem(size); + cpu_evtchn_mask_p = kcalloc(nr_cpu_ids, sizeof(struct cpu_evtchn_s), + GFP_KERNEL); BUG_ON(cpu_evtchn_mask_p == NULL); init_evtchn_cpu_bindings();