|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: pin_2_irq[].pin should be initialise
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1244028925 -3600
# Node ID 49e8816db57a471a5bd00629fb5ffad5656fd6b2
# Parent 4e22d660ece3496f5df0f730c66ccea25822177a
x86: pin_2_irq[].pin should be initialised to -1.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/io_apic.c | 2 ++
1 files changed, 2 insertions(+)
diff -r 4e22d660ece3 -r 49e8816db57a xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c Wed Jun 03 11:20:38 2009 +0100
+++ b/xen/arch/x86/io_apic.c Wed Jun 03 12:35:25 2009 +0100
@@ -967,6 +967,8 @@ static void __init enable_IO_APIC(void)
/* Initialise dynamic irq_2_pin free list. */
irq_2_pin = xmalloc_array(struct irq_pin_list, PIN_MAP_SIZE);
memset(irq_2_pin, 0, nr_irqs * sizeof(*irq_2_pin));
+ for (i = 0; i < PIN_MAP_SIZE; i++)
+ irq_2_pin[i].pin = -1;
for (i = irq_2_pin_free_entry = nr_irqs; i < PIN_MAP_SIZE; i++)
irq_2_pin[i].next = i + 1;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: pin_2_irq[].pin should be initialised to -1.,
Xen patchbot-unstable <=
|
|
|
|
|