diff options
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 1485a26ddcef..bb1a01f089e2 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -24,7 +24,11 @@ unsigned int pci_early_dump_regs; | |||
24 | static int pci_bf_sort; | 24 | static int pci_bf_sort; |
25 | int pci_routeirq; | 25 | int pci_routeirq; |
26 | int noioapicquirk; | 26 | int noioapicquirk; |
27 | #ifdef CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS | ||
28 | int noioapicreroute = 0; | ||
29 | #else | ||
27 | int noioapicreroute = 1; | 30 | int noioapicreroute = 1; |
31 | #endif | ||
28 | int pcibios_last_bus = -1; | 32 | int pcibios_last_bus = -1; |
29 | unsigned long pirq_table_addr; | 33 | unsigned long pirq_table_addr; |
30 | struct pci_bus *pci_root_bus; | 34 | struct pci_bus *pci_root_bus; |
@@ -528,6 +532,10 @@ char * __devinit pcibios_setup(char *str) | |||
528 | if (noioapicreroute != -1) | 532 | if (noioapicreroute != -1) |
529 | noioapicreroute = 0; | 533 | noioapicreroute = 0; |
530 | return NULL; | 534 | return NULL; |
535 | } else if (!strcmp(str, "noioapicreroute")) { | ||
536 | if (noioapicreroute != -1) | ||
537 | noioapicreroute = 1; | ||
538 | return NULL; | ||
531 | } | 539 | } |
532 | return str; | 540 | return str; |
533 | } | 541 | } |