aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables/tbxface.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>2007-02-02 11:48:19 -0500
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:22 -0500
commitad71860a17ba33eb0e673e9e2cf5ba0d8e3e3fdd (patch)
tree9f60547a2e8782c04d7cd1c41bc874047008458c /drivers/acpi/tables/tbxface.c
parenta4bbb810dedaecf74d54b16b6dd3c33e95e1024c (diff)
ACPICA: minimal patch to integrate new tables into Linux
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables/tbxface.c')
-rw-r--r--drivers/acpi/tables/tbxface.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c
index 13e8d6626dd4..94544a60640d 100644
--- a/drivers/acpi/tables/tbxface.c
+++ b/drivers/acpi/tables/tbxface.c
@@ -78,7 +78,7 @@ static acpi_status acpi_tb_load_namespace(void);
78 * 78 *
79 ******************************************************************************/ 79 ******************************************************************************/
80 80
81acpi_status 81acpi_status __init
82acpi_initialize_tables(struct acpi_table_desc *initial_table_array, 82acpi_initialize_tables(struct acpi_table_desc *initial_table_array,
83 u32 initial_table_count, u8 allow_resize) 83 u32 initial_table_count, u8 allow_resize)
84{ 84{
@@ -132,8 +132,6 @@ acpi_initialize_tables(struct acpi_table_desc *initial_table_array,
132 return_ACPI_STATUS(status); 132 return_ACPI_STATUS(status);
133} 133}
134 134
135ACPI_EXPORT_SYMBOL(acpi_initialize_tables)
136
137/******************************************************************************* 135/*******************************************************************************
138 * 136 *
139 * FUNCTION: acpi_reallocate_root_table 137 * FUNCTION: acpi_reallocate_root_table
@@ -365,6 +363,10 @@ acpi_get_table(char *signature,
365 *out_table = acpi_gbl_root_table_list.tables[i].pointer; 363 *out_table = acpi_gbl_root_table_list.tables[i].pointer;
366 } 364 }
367 365
366 if (!acpi_gbl_permanent_mmap) {
367 acpi_gbl_root_table_list.tables[i].pointer = 0;
368 }
369
368 return (status); 370 return (status);
369 } 371 }
370 372