Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104435
b: refs/heads/master
c: 0725cbb
h: refs/heads/master
i:
  104433: 32fd9a1
  104431: 25bce7a
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 16, 2008
1 parent e1ba428 commit aae5256
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 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: 88459d4c7eb68c4a15609e00e5d100e2a305f040
refs/heads/master: 0725cbb97793d4e65bf148e4872959cdbb8c6ddd
19 changes: 18 additions & 1 deletion trunk/arch/x86/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,8 +1085,25 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = {
},
};

static void __init __xen_init_IRQ(void)
{
#ifdef CONFIG_X86_64
int i;

/* Create identity vector->irq map */
for(i = 0; i < NR_VECTORS; i++) {
int cpu;

for_each_possible_cpu(cpu)
per_cpu(vector_irq, cpu)[i] = i;
}
#endif /* CONFIG_X86_64 */

xen_init_IRQ();
}

static const struct pv_irq_ops xen_irq_ops __initdata = {
.init_IRQ = xen_init_IRQ,
.init_IRQ = __xen_init_IRQ,
.save_fl = xen_save_fl,
.restore_fl = xen_restore_fl,
.irq_disable = xen_irq_disable,
Expand Down

0 comments on commit aae5256

Please sign in to comment.