diff options
author | Len Brown <len.brown@intel.com> | 2005-08-25 18:27:09 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-25 18:40:44 +0200 |
commit | 6153df7b2f4d27c8bde054db1b947369a6f64d83 (patch) | |
tree | 2e30598ad48d05d0ea956b6097e0943a178d6299 /include/asm-i386/acpi.h | |
parent | [ACPI] remove "default m" from acpi/Kconfig (diff) | |
download | linux-6153df7b2f4d27c8bde054db1b947369a6f64d83.tar.xz linux-6153df7b2f4d27c8bde054db1b947369a6f64d83.zip |
[ACPI] delete CONFIG_ACPI_PCI
Delete the ability to build an ACPI kernel that does
not include PCI support. When such a machine is created
and it requires a tuned kernel, send a patch.
http://bugzilla.kernel.org/show_bug.cgi?id=1364
Signed-off-by: Len Brown <len.brown@intel.com>
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) { } #endif -#else /* !CONFIG_ACPI */ -# define acpi_lapic 0 -# define acpi_ioapic 0 - -#endif - -#ifdef CONFIG_ACPI_PCI static inline void acpi_noirq_set(void) { acpi_noirq = 1; } static inline void acpi_disable_pci(void) { @@ -160,11 +153,16 @@ static inline void acpi_disable_pci(void) acpi_noirq_set(); } extern int acpi_irq_balance_set(char *str); -#else + +#else /* !CONFIG_ACPI */ + +#define acpi_lapic 0 +#define acpi_ioapic 0 static inline void acpi_noirq_set(void) { } static inline void acpi_disable_pci(void) { } -static inline int acpi_irq_balance_set(char *str) { return 0; } -#endif + +#endif /* !CONFIG_ACPI */ + #ifdef CONFIG_ACPI_SLEEP |