Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136385
b: refs/heads/master
c: 28e0886
h: refs/heads/master
i:
  136383: 77a03d9
v: v3
  • Loading branch information
Christophe Saout authored and Ingo Molnar committed Jan 12, 2009
1 parent e49f718 commit 5f30674
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92296c6d6e908c35fca287a21af27be814af9c75
refs/heads/master: 28e08861b9afab4168b758fb7b95aa7a4da0f668
5 changes: 3 additions & 2 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/bootmem.h>

#include <asm/ptrace.h>
#include <asm/irq.h>
Expand Down Expand Up @@ -831,8 +832,8 @@ void __init xen_init_IRQ(void)
int i;
size_t size = nr_cpu_ids * sizeof(struct cpu_evtchn_s);

cpu_evtchn_mask_p = kmalloc(size, GFP_KERNEL);
BUG_ON(cpu_evtchn_mask == NULL);
cpu_evtchn_mask_p = alloc_bootmem(size);
BUG_ON(cpu_evtchn_mask_p == NULL);

init_evtchn_cpu_bindings();

Expand Down

0 comments on commit 5f30674

Please sign in to comment.