diff options
| author | Len Brown <len.brown@intel.com> | 2007-08-24 22:19:05 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2007-08-24 22:19:05 -0400 |
| commit | 5a16eff86dc1194a17c69250492e820d828e3bde (patch) | |
| tree | a0f990ce8682d7108f6fbd7f9d3c90a8d318d9b8 /include | |
| parent | 2e0f4c7b383063abc274c4a088043383a3735b93 (diff) | |
| parent | 61ec7567db103d537329b0db9a887db570431ff4 (diff) | |
Pull bugzilla-1641 into release branch
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/io_apic.h | 1 | ||||
| -rw-r--r-- | include/asm-x86_64/io_apic.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-i386/io_apic.h b/include/asm-i386/io_apic.h index 340764076d5f..dbe734ddf2af 100644 --- a/include/asm-i386/io_apic.h +++ b/include/asm-i386/io_apic.h | |||
| @@ -150,7 +150,6 @@ extern int (*ioapic_renumber_irq)(int ioapic, int irq); | |||
| 150 | 150 | ||
| 151 | #else /* !CONFIG_X86_IO_APIC */ | 151 | #else /* !CONFIG_X86_IO_APIC */ |
| 152 | #define io_apic_assign_pci_irqs 0 | 152 | #define io_apic_assign_pci_irqs 0 |
| 153 | static inline void disable_ioapic_setup(void) { } | ||
| 154 | #endif | 153 | #endif |
| 155 | 154 | ||
| 156 | #endif | 155 | #endif |
diff --git a/include/asm-x86_64/io_apic.h b/include/asm-x86_64/io_apic.h index 969d225a9350..d9f2e54324d5 100644 --- a/include/asm-x86_64/io_apic.h +++ b/include/asm-x86_64/io_apic.h | |||
| @@ -109,6 +109,12 @@ extern int mpc_default_type; | |||
| 109 | /* 1 if "noapic" boot option passed */ | 109 | /* 1 if "noapic" boot option passed */ |
| 110 | extern int skip_ioapic_setup; | 110 | extern int skip_ioapic_setup; |
| 111 | 111 | ||
| 112 | static inline void disable_ioapic_setup(void) | ||
| 113 | { | ||
| 114 | skip_ioapic_setup = 1; | ||
| 115 | } | ||
| 116 | |||
| 117 | |||
| 112 | /* | 118 | /* |
| 113 | * If we use the IO-APIC for IRQ routing, disable automatic | 119 | * If we use the IO-APIC for IRQ routing, disable automatic |
| 114 | * assignment of PCI IRQ's. | 120 | * assignment of PCI IRQ's. |
