git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, ioapic: Consolidate mp_ioapics[] into 'struct ioapic'
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
devicetree.c
diff --git
a/arch/x86/kernel/devicetree.c
b/arch/x86/kernel/devicetree.c
index
e90f084
..
f06494e
100644
(file)
--- a/
arch/x86/kernel/devicetree.c
+++ b/
arch/x86/kernel/devicetree.c
@@
-407,7
+407,7
@@
static void __init ioapic_add_ofnode(struct device_node *np)
}
for (i = 0; i < nr_ioapics; i++) {
- if (r.start == mp
_ioapics[i].apicaddr
) {
+ if (r.start == mp
c_ioapic_addr(i)
) {
struct irq_domain *id;
id = kzalloc(sizeof(*id), GFP_KERNEL);