diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> | 2007-02-02 11:48:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:22 -0500 |
commit | ad71860a17ba33eb0e673e9e2cf5ba0d8e3e3fdd (patch) | |
tree | 9f60547a2e8782c04d7cd1c41bc874047008458c /drivers/acpi/tables | |
parent | a4bbb810dedaecf74d54b16b6dd3c33e95e1024c (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')
-rw-r--r-- | drivers/acpi/tables/Makefile | 3 | ||||
-rw-r--r-- | drivers/acpi/tables/tbutils.c | 2 | ||||
-rw-r--r-- | drivers/acpi/tables/tbxface.c | 8 |
3 files changed, 7 insertions, 6 deletions
diff --git a/drivers/acpi/tables/Makefile b/drivers/acpi/tables/Makefile index aa4c69594d97..f08f1f310274 100644 --- a/drivers/acpi/tables/Makefile +++ b/drivers/acpi/tables/Makefile | |||
@@ -2,7 +2,6 @@ | |||
2 | # Makefile for all Linux ACPI interpreter subdirectories | 2 | # Makefile for all Linux ACPI interpreter subdirectories |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := tbconvrt.o tbget.o tbrsdt.o tbxface.o \ | 5 | obj-y := tbxface.o tbinstal.o tbutils.o tbfind.o |
6 | tbgetall.o tbinstal.o tbutils.o tbxfroot.o | ||
7 | 6 | ||
8 | EXTRA_CFLAGS += $(ACPI_CFLAGS) | 7 | EXTRA_CFLAGS += $(ACPI_CFLAGS) |
diff --git a/drivers/acpi/tables/tbutils.c b/drivers/acpi/tables/tbutils.c index 8e44f83a64e2..6d13737f3f89 100644 --- a/drivers/acpi/tables/tbutils.c +++ b/drivers/acpi/tables/tbutils.c | |||
@@ -545,7 +545,7 @@ acpi_tb_get_root_table_entry(u8 * table_entry, | |||
545 | * | 545 | * |
546 | ******************************************************************************/ | 546 | ******************************************************************************/ |
547 | 547 | ||
548 | acpi_status | 548 | acpi_status __init |
549 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags) | 549 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags) |
550 | { | 550 | { |
551 | struct acpi_table_rsdp *rsdp; | 551 | struct acpi_table_rsdp *rsdp; |
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 | ||
81 | acpi_status | 81 | acpi_status __init |
82 | acpi_initialize_tables(struct acpi_table_desc *initial_table_array, | 82 | acpi_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 | ||
135 | ACPI_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 | ||