ioapic/x86_64: Fix x86_64 buildkernel with gcc41 (syncs with i386).
authorSascha Wildner <saw@online.de>
Tue, 13 Dec 2011 09:44:35 +0000 (10:44 +0100)
committerSascha Wildner <saw@online.de>
Tue, 13 Dec 2011 09:44:35 +0000 (10:44 +0100)
In-discussion-with: sephe

sys/platform/pc64/apic/ioapic.c

index 2ff9d58..5e03788 100644 (file)
@@ -347,6 +347,9 @@ ioapic_gsi_setup(int gsi)
                return;
        }
 
+       trig = 0;       /* silence older gcc's */
+       pola = 0;       /* silence older gcc's */
+
        for (irq = 0; irq < ISA_IRQ_CNT; ++irq) {
                const struct ioapic_intsrc *int_src =
                    &ioapic_conf.ioc_intsrc[irq];