diff options
author | Len Brown <len.brown@intel.com> | 2005-08-25 12:27:09 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-25 12:40:44 -0400 |
commit | 6153df7b2f4d27c8bde054db1b947369a6f64d83 (patch) | |
tree | 2e30598ad48d05d0ea956b6097e0943a178d6299 /include/asm-x86_64/acpi.h | |
parent | 07fefe4ca93b3e45b2bea32871a4496067888852 (diff) |
[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-x86_64/acpi.h')
-rw-r--r-- | include/asm-x86_64/acpi.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/include/asm-x86_64/acpi.h b/include/asm-x86_64/acpi.h index 7d537e1867c7..aa1c7b2e438c 100644 --- a/include/asm-x86_64/acpi.h +++ b/include/asm-x86_64/acpi.h | |||
@@ -121,17 +121,6 @@ static inline void disable_acpi(void) | |||
121 | #define FIX_ACPI_PAGES 4 | 121 | #define FIX_ACPI_PAGES 4 |
122 | 122 | ||
123 | extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); | 123 | extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); |
124 | |||
125 | #else /* !CONFIG_ACPI */ | ||
126 | #define acpi_lapic 0 | ||
127 | #define acpi_ioapic 0 | ||
128 | #endif /* !CONFIG_ACPI */ | ||
129 | |||
130 | extern int acpi_numa; | ||
131 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); | ||
132 | #define NR_NODE_MEMBLKS (MAX_NUMNODES*2) | ||
133 | |||
134 | #ifdef CONFIG_ACPI_PCI | ||
135 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } | 124 | static inline void acpi_noirq_set(void) { acpi_noirq = 1; } |
136 | static inline void acpi_disable_pci(void) | 125 | static inline void acpi_disable_pci(void) |
137 | { | 126 | { |
@@ -139,11 +128,19 @@ static inline void acpi_disable_pci(void) | |||
139 | acpi_noirq_set(); | 128 | acpi_noirq_set(); |
140 | } | 129 | } |
141 | extern int acpi_irq_balance_set(char *str); | 130 | extern int acpi_irq_balance_set(char *str); |
142 | #else | 131 | |
132 | #else /* !CONFIG_ACPI */ | ||
133 | |||
134 | #define acpi_lapic 0 | ||
135 | #define acpi_ioapic 0 | ||
143 | static inline void acpi_noirq_set(void) { } | 136 | static inline void acpi_noirq_set(void) { } |
144 | static inline void acpi_disable_pci(void) { } | 137 | static inline void acpi_disable_pci(void) { } |
145 | static inline int acpi_irq_balance_set(char *str) { return 0; } | 138 | |
146 | #endif | 139 | #endif /* !CONFIG_ACPI */ |
140 | |||
141 | extern int acpi_numa; | ||
142 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); | ||
143 | #define NR_NODE_MEMBLKS (MAX_NUMNODES*2) | ||
147 | 144 | ||
148 | #ifdef CONFIG_ACPI_SLEEP | 145 | #ifdef CONFIG_ACPI_SLEEP |
149 | 146 | ||