projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
14904fb
)
ioapic/x86_64: Fix x86_64 buildkernel with gcc41 (syncs with i386).
author
Sascha Wildner <saw@online.de>
Tue, 13 Dec 2011 09:44:35 +0000 (10:44 +0100)
committer
Sascha 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
patch
|
blob
|
blame
|
history
diff --git
a/sys/platform/pc64/apic/ioapic.c
b/sys/platform/pc64/apic/ioapic.c
index
2ff9d58
..
5e03788
100644
(file)
--- a/
sys/platform/pc64/apic/ioapic.c
+++ b/
sys/platform/pc64/apic/ioapic.c
@@
-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];