aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 25fb4dcc0e6b..ddbe7efe590e 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -44,8 +44,6 @@
44#include <linux/dmi.h> 44#include <linux/dmi.h>
45 45
46 46
47#ifdef CONFIG_ACPI
48
49enum acpi_irq_model_id { 47enum acpi_irq_model_id {
50 ACPI_IRQ_MODEL_PIC = 0, 48 ACPI_IRQ_MODEL_PIC = 0,
51 ACPI_IRQ_MODEL_IOAPIC, 49 ACPI_IRQ_MODEL_IOAPIC,
@@ -116,9 +114,7 @@ int acpi_unmap_lsapic(int cpu);
116int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); 114int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base);
117int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); 115int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base);
118void acpi_irq_stats_init(void); 116void acpi_irq_stats_init(void);
119
120extern u32 acpi_irq_handled; 117extern u32 acpi_irq_handled;
121extern int acpi_mp_config;
122 118
123extern struct acpi_mcfg_allocation *pci_mmcfg_config; 119extern struct acpi_mcfg_allocation *pci_mmcfg_config;
124extern int pci_mmcfg_config_num; 120extern int pci_mmcfg_config_num;
@@ -126,12 +122,6 @@ extern int pci_mmcfg_config_num;
126extern int sbf_port; 122extern int sbf_port;
127extern unsigned long acpi_realmode_flags; 123extern unsigned long acpi_realmode_flags;
128 124
129#else /* !CONFIG_ACPI */
130
131#define acpi_mp_config 0
132
133#endif /* !CONFIG_ACPI */
134
135int acpi_register_gsi (u32 gsi, int triggering, int polarity); 125int acpi_register_gsi (u32 gsi, int triggering, int polarity);
136int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); 126int acpi_gsi_to_irq (u32 gsi, unsigned int *irq);
137 127
@@ -147,8 +137,6 @@ extern int acpi_get_override_irq(int bus_irq, int *trigger, int *polarity);
147 */ 137 */
148void acpi_unregister_gsi (u32 gsi); 138void acpi_unregister_gsi (u32 gsi);
149 139
150#ifdef CONFIG_ACPI
151
152struct acpi_prt_entry { 140struct acpi_prt_entry {
153 struct list_head node; 141 struct list_head node;
154 struct acpi_pci_id id; 142 struct acpi_pci_id id;
@@ -181,8 +169,6 @@ struct acpi_pci_driver {
181int acpi_pci_register_driver(struct acpi_pci_driver *driver); 169int acpi_pci_register_driver(struct acpi_pci_driver *driver);
182void acpi_pci_unregister_driver(struct acpi_pci_driver *driver); 170void acpi_pci_unregister_driver(struct acpi_pci_driver *driver);
183 171
184#endif /* CONFIG_ACPI */
185
186#ifdef CONFIG_ACPI_EC 172#ifdef CONFIG_ACPI_EC
187 173
188extern int ec_read(u8 addr, u8 *val); 174extern int ec_read(u8 addr, u8 *val);