diff options
Diffstat (limited to 'include/asm-i386/acpi.h')
-rw-r--r-- | include/asm-i386/acpi.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/asm-i386/acpi.h b/include/asm-i386/acpi.h index 1f1ade923d69..df4ed323aa4d 100644 --- a/include/asm-i386/acpi.h +++ b/include/asm-i386/acpi.h | |||
@@ -146,13 +146,6 @@ static inline void check_acpi_pci(void) { } | |||
146 | 146 | ||
147 | #endif | 147 | #endif |
148 | 148 | ||
149 | #else /* !CONFIG_ACPI */ | ||
150 | # define acpi_lapic 0 | ||
151 | # define acpi_ioapic 0 | ||
152 | |||
153 | #endif | ||
154 | |||
155 | #ifdef CONFIG_ACPI_PCI | ||
156 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } | 149 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } |
157 | static inline void acpi_disable_pci(void) | 150 | static inline void acpi_disable_pci(void) |
158 | { | 151 | { |
@@ -160,11 +153,16 @@ static inline void acpi_disable_pci(void) | |||
160 | acpi_noirq_set(); | 153 | acpi_noirq_set(); |
161 | } | 154 | } |
162 | extern int acpi_irq_balance_set(char *str); | 155 | extern int acpi_irq_balance_set(char *str); |
163 | #else | 156 | |
157 | #else /* !CONFIG_ACPI */ | ||
158 | |||
159 | #define acpi_lapic 0 | ||
160 | #define acpi_ioapic 0 | ||
164 | static inline void acpi_noirq_set(void) { } | 161 | static inline void acpi_noirq_set(void) { } |
165 | static inline void acpi_disable_pci(void) { } | 162 | static inline void acpi_disable_pci(void) { } |
166 | static inline int acpi_irq_balance_set(char *str) { return 0; } | 163 | |
167 | #endif | 164 | #endif /* !CONFIG_ACPI */ |
165 | |||
168 | 166 | ||
169 | #ifdef CONFIG_ACPI_SLEEP | 167 | #ifdef CONFIG_ACPI_SLEEP |
170 | 168 | ||