diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acmacros.h | 6 | ||||
| -rw-r--r-- | include/acpi/acpi_drivers.h | 1 | ||||
| -rw-r--r-- | include/acpi/acpi_numa.h | 1 | ||||
| -rw-r--r-- | include/linux/acpi.h | 14 |
4 files changed, 3 insertions, 19 deletions
diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h index 45662f6dbdb6..99d171c87c84 100644 --- a/include/acpi/acmacros.h +++ b/include/acpi/acmacros.h | |||
| @@ -486,7 +486,7 @@ | |||
| 486 | #define ACPI_FUNCTION_NAME(name) | 486 | #define ACPI_FUNCTION_NAME(name) |
| 487 | #endif | 487 | #endif |
| 488 | 488 | ||
| 489 | #ifdef DEBUG_FUNC_TRACE | 489 | #ifdef CONFIG_ACPI_DEBUG_FUNC_TRACE |
| 490 | 490 | ||
| 491 | #define ACPI_FUNCTION_TRACE(a) ACPI_FUNCTION_NAME(a) \ | 491 | #define ACPI_FUNCTION_TRACE(a) ACPI_FUNCTION_NAME(a) \ |
| 492 | acpi_ut_trace(ACPI_DEBUG_PARAMETERS) | 492 | acpi_ut_trace(ACPI_DEBUG_PARAMETERS) |
| @@ -565,7 +565,7 @@ | |||
| 565 | 565 | ||
| 566 | #endif /* ACPI_SIMPLE_RETURN_MACROS */ | 566 | #endif /* ACPI_SIMPLE_RETURN_MACROS */ |
| 567 | 567 | ||
| 568 | #else /* !DEBUG_FUNC_TRACE */ | 568 | #else /* !CONFIG_ACPI_DEBUG_FUNC_TRACE */ |
| 569 | 569 | ||
| 570 | #define ACPI_FUNCTION_TRACE(a) | 570 | #define ACPI_FUNCTION_TRACE(a) |
| 571 | #define ACPI_FUNCTION_TRACE_PTR(a,b) | 571 | #define ACPI_FUNCTION_TRACE_PTR(a,b) |
| @@ -584,7 +584,7 @@ | |||
| 584 | #define return_UINT32(s) return(s) | 584 | #define return_UINT32(s) return(s) |
| 585 | #define return_PTR(s) return(s) | 585 | #define return_PTR(s) return(s) |
| 586 | 586 | ||
| 587 | #endif /* DEBUG_FUNC_TRACE */ | 587 | #endif /* CONFIG_ACPI_DEBUG_FUNC_TRACE */ |
| 588 | 588 | ||
| 589 | /* Conditional execution */ | 589 | /* Conditional execution */ |
| 590 | 590 | ||
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h index 581daa451ffc..9757a040a505 100644 --- a/include/acpi/acpi_drivers.h +++ b/include/acpi/acpi_drivers.h | |||
| @@ -74,7 +74,6 @@ struct pci_bus; | |||
| 74 | 74 | ||
| 75 | acpi_status acpi_get_pci_id(acpi_handle handle, struct acpi_pci_id *id); | 75 | acpi_status acpi_get_pci_id(acpi_handle handle, struct acpi_pci_id *id); |
| 76 | int acpi_pci_bind(struct acpi_device *device); | 76 | int acpi_pci_bind(struct acpi_device *device); |
| 77 | int acpi_pci_unbind(struct acpi_device *device); | ||
| 78 | int acpi_pci_bind_root(struct acpi_device *device, struct acpi_pci_id *id, | 77 | int acpi_pci_bind_root(struct acpi_device *device, struct acpi_pci_id *id, |
| 79 | struct pci_bus *bus); | 78 | struct pci_bus *bus); |
| 80 | 79 | ||
diff --git a/include/acpi/acpi_numa.h b/include/acpi/acpi_numa.h index 62c5ee4311da..173972672175 100644 --- a/include/acpi/acpi_numa.h +++ b/include/acpi/acpi_numa.h | |||
| @@ -15,7 +15,6 @@ extern int pxm_to_node(int); | |||
| 15 | extern int node_to_pxm(int); | 15 | extern int node_to_pxm(int); |
| 16 | extern void __acpi_map_pxm_to_node(int, int); | 16 | extern void __acpi_map_pxm_to_node(int, int); |
| 17 | extern int acpi_map_pxm_to_node(int); | 17 | extern int acpi_map_pxm_to_node(int); |
| 18 | extern void __cpuinit acpi_unmap_pxm_to_node(int); | ||
| 19 | 18 | ||
| 20 | #endif /* CONFIG_ACPI_NUMA */ | 19 | #endif /* CONFIG_ACPI_NUMA */ |
| 21 | #endif /* __ACP_NUMA_H */ | 20 | #endif /* __ACP_NUMA_H */ |
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 | |||
| 49 | enum acpi_irq_model_id { | 47 | enum 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); | |||
| 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 | void acpi_irq_stats_init(void); | 116 | void acpi_irq_stats_init(void); |
| 119 | |||
| 120 | extern u32 acpi_irq_handled; | 117 | extern u32 acpi_irq_handled; |
| 121 | extern int acpi_mp_config; | ||
| 122 | 118 | ||
| 123 | extern struct acpi_mcfg_allocation *pci_mmcfg_config; | 119 | extern struct acpi_mcfg_allocation *pci_mmcfg_config; |
| 124 | extern int pci_mmcfg_config_num; | 120 | extern int pci_mmcfg_config_num; |
| @@ -126,12 +122,6 @@ extern int pci_mmcfg_config_num; | |||
| 126 | extern int sbf_port; | 122 | extern int sbf_port; |
| 127 | extern unsigned long acpi_realmode_flags; | 123 | extern unsigned long acpi_realmode_flags; |
| 128 | 124 | ||
| 129 | #else /* !CONFIG_ACPI */ | ||
| 130 | |||
| 131 | #define acpi_mp_config 0 | ||
| 132 | |||
| 133 | #endif /* !CONFIG_ACPI */ | ||
| 134 | |||
| 135 | int acpi_register_gsi (u32 gsi, int triggering, int polarity); | 125 | int acpi_register_gsi (u32 gsi, int triggering, int polarity); |
| 136 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 126 | int 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 | */ |
| 148 | void acpi_unregister_gsi (u32 gsi); | 138 | void acpi_unregister_gsi (u32 gsi); |
| 149 | 139 | ||
| 150 | #ifdef CONFIG_ACPI | ||
| 151 | |||
| 152 | struct acpi_prt_entry { | 140 | struct 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 { | |||
| 181 | int acpi_pci_register_driver(struct acpi_pci_driver *driver); | 169 | int acpi_pci_register_driver(struct acpi_pci_driver *driver); |
| 182 | void acpi_pci_unregister_driver(struct acpi_pci_driver *driver); | 170 | void 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 | ||
| 188 | extern int ec_read(u8 addr, u8 *val); | 174 | extern int ec_read(u8 addr, u8 *val); |
