diff options
| -rw-r--r-- | include/linux/acpi.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 63f2e6ed698f..ff68f13a9377 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -43,8 +43,6 @@ | |||
| 43 | #include <linux/dmi.h> | 43 | #include <linux/dmi.h> |
| 44 | 44 | ||
| 45 | 45 | ||
| 46 | #ifdef CONFIG_ACPI | ||
| 47 | |||
| 48 | enum acpi_irq_model_id { | 46 | enum acpi_irq_model_id { |
| 49 | ACPI_IRQ_MODEL_PIC = 0, | 47 | ACPI_IRQ_MODEL_PIC = 0, |
| 50 | ACPI_IRQ_MODEL_IOAPIC, | 48 | ACPI_IRQ_MODEL_IOAPIC, |
| @@ -116,20 +114,12 @@ int acpi_unmap_lsapic(int cpu); | |||
| 116 | int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); | 114 | int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); |
| 117 | int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); | 115 | int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); |
| 118 | 116 | ||
| 119 | extern int acpi_mp_config; | ||
| 120 | |||
| 121 | extern struct acpi_mcfg_allocation *pci_mmcfg_config; | 117 | extern struct acpi_mcfg_allocation *pci_mmcfg_config; |
| 122 | extern int pci_mmcfg_config_num; | 118 | extern int pci_mmcfg_config_num; |
| 123 | 119 | ||
| 124 | extern int sbf_port; | 120 | extern int sbf_port; |
| 125 | extern unsigned long acpi_realmode_flags; | 121 | extern unsigned long acpi_realmode_flags; |
| 126 | 122 | ||
| 127 | #else /* !CONFIG_ACPI */ | ||
| 128 | |||
| 129 | #define acpi_mp_config 0 | ||
| 130 | |||
| 131 | #endif /* !CONFIG_ACPI */ | ||
| 132 | |||
| 133 | int acpi_register_gsi (u32 gsi, int triggering, int polarity); | 123 | int acpi_register_gsi (u32 gsi, int triggering, int polarity); |
| 134 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 124 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); |
| 135 | 125 | ||
| @@ -145,8 +135,6 @@ extern int acpi_get_override_irq(int bus_irq, int *trigger, int *polarity); | |||
| 145 | */ | 135 | */ |
| 146 | void acpi_unregister_gsi (u32 gsi); | 136 | void acpi_unregister_gsi (u32 gsi); |
| 147 | 137 | ||
| 148 | #ifdef CONFIG_ACPI | ||
| 149 | |||
| 150 | struct acpi_prt_entry { | 138 | struct acpi_prt_entry { |
| 151 | struct list_head node; | 139 | struct list_head node; |
| 152 | struct acpi_pci_id id; | 140 | struct acpi_pci_id id; |
| @@ -179,8 +167,6 @@ struct acpi_pci_driver { | |||
| 179 | int acpi_pci_register_driver(struct acpi_pci_driver *driver); | 167 | int acpi_pci_register_driver(struct acpi_pci_driver *driver); |
| 180 | void acpi_pci_unregister_driver(struct acpi_pci_driver *driver); | 168 | void acpi_pci_unregister_driver(struct acpi_pci_driver *driver); |
| 181 | 169 | ||
| 182 | #endif /* CONFIG_ACPI */ | ||
| 183 | |||
| 184 | #ifdef CONFIG_ACPI_EC | 170 | #ifdef CONFIG_ACPI_EC |
| 185 | 171 | ||
| 186 | extern int ec_read(u8 addr, u8 *val); | 172 | extern int ec_read(u8 addr, u8 *val); |
