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.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 8ccedf7a0a5a..de09704d3dd2 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -40,6 +40,7 @@
40#include <acpi/acpi_drivers.h> 40#include <acpi/acpi_drivers.h>
41#include <acpi/acpi_numa.h> 41#include <acpi/acpi_numa.h>
42#include <asm/acpi.h> 42#include <asm/acpi.h>
43#include <linux/dmi.h>
43 44
44 45
45#ifdef CONFIG_ACPI 46#ifdef CONFIG_ACPI
@@ -79,7 +80,6 @@ typedef int (*acpi_table_handler) (struct acpi_table_header *table);
79typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); 80typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);
80 81
81char * __acpi_map_table (unsigned long phys_addr, unsigned long size); 82char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
82unsigned long acpi_find_rsdp (void);
83int acpi_boot_init (void); 83int acpi_boot_init (void);
84int acpi_boot_table_init (void); 84int acpi_boot_table_init (void);
85int acpi_numa_init (void); 85int acpi_numa_init (void);
@@ -132,6 +132,11 @@ extern unsigned long acpi_realmode_flags;
132int acpi_register_gsi (u32 gsi, int triggering, int polarity); 132int acpi_register_gsi (u32 gsi, int triggering, int polarity);
133int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); 133int acpi_gsi_to_irq (u32 gsi, unsigned int *irq);
134 134
135#ifdef CONFIG_X86_IO_APIC
136extern int acpi_get_override_irq(int bus_irq, int *trigger, int *polarity);
137#else
138#define acpi_get_override_irq(bus, trigger, polarity) (-1)
139#endif
135/* 140/*
136 * This function undoes the effect of one call to acpi_register_gsi(). 141 * This function undoes the effect of one call to acpi_register_gsi().
137 * If this matches the last registration, any IRQ resources for gsi 142 * If this matches the last registration, any IRQ resources for gsi
@@ -187,7 +192,9 @@ extern int ec_transaction(u8 command,
187#endif /*CONFIG_ACPI_EC*/ 192#endif /*CONFIG_ACPI_EC*/
188 193
189extern int acpi_blacklisted(void); 194extern int acpi_blacklisted(void);
190extern void acpi_bios_year(char *s); 195#ifdef CONFIG_DMI
196extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d);
197#endif
191 198
192#ifdef CONFIG_ACPI_NUMA 199#ifdef CONFIG_ACPI_NUMA
193int acpi_get_pxm(acpi_handle handle); 200int acpi_get_pxm(acpi_handle handle);
@@ -221,5 +228,5 @@ static inline int acpi_boot_table_init(void)
221 return 0; 228 return 0;
222} 229}
223 230
224#endif /* CONFIG_ACPI */ 231#endif /* !CONFIG_ACPI */
225#endif /*_LINUX_ACPI_H*/ 232#endif /*_LINUX_ACPI_H*/