aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2012-09-30 18:23:54 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2012-09-30 21:03:23 -0400
commit53aac44c904abbad9f474f652f099de13b5c3563 (patch)
treebda5d70da49a83cb2c0c1dc2c35aae8d9235b782 /include/linux/acpi.h
parent8e30524dcc0d0ac1a18a5cee482b9d9cde3cb332 (diff)
ACPI: Store valid ACPI tables passed via early initrd in reserved memblock areas
A later patch will compare them with ACPI tables that get loaded at boot or runtime and if criteria match, a stored one is loaded. Signed-off-by: Thomas Renninger <trenn@suse.de> Link: http://lkml.kernel.org/r/1349043837-22659-4-git-send-email-trenn@suse.de Cc: Len Brown <lenb@kernel.org> Cc: Robert Moore <robert.moore@intel.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 946fd1ea79ff..d14081c10c17 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -76,6 +76,14 @@ typedef int (*acpi_table_handler) (struct acpi_table_header *table);
76 76
77typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); 77typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);
78 78
79#ifdef CONFIG_ACPI_INITRD_TABLE_OVERRIDE
80void acpi_initrd_override(void *data, size_t size);
81#else
82static inline void acpi_initrd_override(void *data, size_t size)
83{
84}
85#endif
86
79char * __acpi_map_table (unsigned long phys_addr, unsigned long size); 87char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
80void __acpi_unmap_table(char *map, unsigned long size); 88void __acpi_unmap_table(char *map, unsigned long size);
81int early_acpi_boot_init(void); 89int early_acpi_boot_init(void);