diff options
author | Stefan Assmann <sassmann@suse.de> | 2008-06-11 10:35:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 11:50:51 -0400 |
commit | 9197979b518573999d52d9e85bce1680682ed85c (patch) | |
tree | 056a03ab39e68e7533988f35d73a7b0cb9e99622 /arch/x86/pci | |
parent | a9322f6488b432ddc1e89be88242c827c633fb63 (diff) |
x86, pci: introduce pci=ioapicreroute kernel cmdline option
Introduce pci=ioapicreroute kernel cmdline option to enable rerouting of boot
interrupts to the primary io-apic.
Signed-off-by: Stefan Assmann <sassmann@suse.de>
Signed-off-by: Olaf Dabrunz <od@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index bc6a101ed7ec..0a9eaa736d94 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -23,6 +23,7 @@ unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 | | |||
23 | static int pci_bf_sort; | 23 | static int pci_bf_sort; |
24 | int pci_routeirq; | 24 | int pci_routeirq; |
25 | int noioapicquirk; | 25 | int noioapicquirk; |
26 | int noioapicreroute = 1; | ||
26 | int pcibios_last_bus = -1; | 27 | int pcibios_last_bus = -1; |
27 | unsigned long pirq_table_addr; | 28 | unsigned long pirq_table_addr; |
28 | struct pci_bus *pci_root_bus; | 29 | struct pci_bus *pci_root_bus; |
@@ -499,6 +500,10 @@ char * __devinit pcibios_setup(char *str) | |||
499 | } else if (!strcmp(str, "noioapicquirk")) { | 500 | } else if (!strcmp(str, "noioapicquirk")) { |
500 | noioapicquirk = 1; | 501 | noioapicquirk = 1; |
501 | return NULL; | 502 | return NULL; |
503 | } else if (!strcmp(str, "ioapicreroute")) { | ||
504 | if (noioapicreroute != -1) | ||
505 | noioapicreroute = 0; | ||
506 | return NULL; | ||
502 | } | 507 | } |
503 | return str; | 508 | return str; |
504 | } | 509 | } |