projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3eea29
)
x86/mrst: Set ISA bus type for fake MP IRQs
author
Jacob Pan
<
[email protected]
>
Thu, 26 Jan 2012 17:32:33 +0000
(17:32 +0000)
committer
Ingo Molnar
<
[email protected]
>
Thu, 26 Jan 2012 20:23:52 +0000
(21:23 +0100)
We use MP IRQs for SFI presented timer interrupts, we should
also set mp_bus_not_pci for MP_ISA_BUS so that pin_2_irq mapping
is correct.
Signed-off-by: Jacob Pan <
[email protected]
>
Signed-off-by: Dirk Brandewie <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/apic/io_apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic/io_apic.c
b/arch/x86/kernel/apic/io_apic.c
index 9e753663f0d16e6ebd123d2ad65d258d41d88432..fb072754bc1d7a30c0eb2e0249a267182dda22aa 100644
(file)
--- a/
arch/x86/kernel/apic/io_apic.c
+++ b/
arch/x86/kernel/apic/io_apic.c
@@
-1010,7
+1010,7
@@
static int pin_2_irq(int idx, int apic, int pin)
} else {
u32 gsi = gsi_cfg->gsi_base + pin;
- if (gsi >=
legacy_pic->nr_legacy_irqs
)
+ if (gsi >=
NR_IRQS_LEGACY
)
irq = gsi;
else
irq = gsi_top + gsi;
@@
-3610,7
+3610,7
@@
static void __init probe_nr_irqs_gsi(void)
{
int nr;
- nr = gsi_top +
legacy_pic->nr_legacy_irqs
;
+ nr = gsi_top +
NR_IRQS_LEGACY
;
if (nr > nr_irqs_gsi)
nr_irqs_gsi = nr;