aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/acpi.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index b3e8a268f6d6..88cb1fe22b48 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -340,7 +340,7 @@ enum acpi_table_id {
340 ACPI_TABLE_COUNT 340 ACPI_TABLE_COUNT
341}; 341};
342 342
343typedef int (*acpi_table_handler) (unsigned long phys_addr, unsigned long size); 343typedef int (*acpi_table_handler) (struct acpi_table_header *header);
344 344
345extern acpi_table_handler acpi_table_ops[ACPI_TABLE_COUNT]; 345extern acpi_table_handler acpi_table_ops[ACPI_TABLE_COUNT];
346 346
@@ -353,11 +353,10 @@ int acpi_boot_table_init (void);
353int acpi_numa_init (void); 353int acpi_numa_init (void);
354 354
355int acpi_table_init (void); 355int acpi_table_init (void);
356int acpi_table_parse (enum acpi_table_id id, acpi_table_handler handler); 356int acpi_table_parse (char *id, acpi_table_handler handler);
357int acpi_get_table_header_early (enum acpi_table_id id, struct acpi_table_header **header);
358int acpi_table_parse_madt (enum acpi_madt_entry_id id, acpi_madt_entry_handler handler, unsigned int max_entries); 357int acpi_table_parse_madt (enum acpi_madt_entry_id id, acpi_madt_entry_handler handler, unsigned int max_entries);
359int acpi_table_parse_srat (enum acpi_srat_entry_id id, acpi_madt_entry_handler handler, unsigned int max_entries); 358int acpi_table_parse_srat (enum acpi_srat_entry_id id, acpi_madt_entry_handler handler, unsigned int max_entries);
360int acpi_parse_mcfg (unsigned long phys_addr, unsigned long size); 359int acpi_parse_mcfg (struct acpi_table_header *header);
361void acpi_table_print (struct acpi_table_header *header, unsigned long phys_addr); 360void acpi_table_print (struct acpi_table_header *header, unsigned long phys_addr);
362void acpi_table_print_madt_entry (acpi_table_entry_header *madt); 361void acpi_table_print_madt_entry (acpi_table_entry_header *madt);
363void acpi_table_print_srat_entry (acpi_table_entry_header *srat); 362void acpi_table_print_srat_entry (acpi_table_entry_header *srat);