diff options
author | Bob Moore <robert.moore@intel.com> | 2009-02-03 01:41:03 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-26 16:38:20 -0400 |
commit | 97cbb7d196845ec9a6c0e3cc33ec20503f8c4e73 (patch) | |
tree | 21f2003e2da305ae1106a6135aca052393fc9567 /drivers/acpi/acpica/tbutils.c | |
parent | ac5f98db7be34cefc244026f882cf030debb7431 (diff) |
ACPICA: Remove extraneous parameter in table manager
Removed the Flags parameter from several internal functions since
it was not being used.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/tbutils.c')
-rw-r--r-- | drivers/acpi/acpica/tbutils.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c index e285bedbb989..a0b424356b98 100644 --- a/drivers/acpi/acpica/tbutils.c +++ b/drivers/acpi/acpica/tbutils.c | |||
@@ -280,7 +280,6 @@ u8 acpi_tb_checksum(u8 *buffer, u32 length) | |||
280 | * FUNCTION: acpi_tb_install_table | 280 | * FUNCTION: acpi_tb_install_table |
281 | * | 281 | * |
282 | * PARAMETERS: Address - Physical address of DSDT or FACS | 282 | * PARAMETERS: Address - Physical address of DSDT or FACS |
283 | * Flags - Flags | ||
284 | * Signature - Table signature, NULL if no need to | 283 | * Signature - Table signature, NULL if no need to |
285 | * match | 284 | * match |
286 | * table_index - Index into root table array | 285 | * table_index - Index into root table array |
@@ -296,8 +295,9 @@ u8 acpi_tb_checksum(u8 *buffer, u32 length) | |||
296 | 295 | ||
297 | void | 296 | void |
298 | acpi_tb_install_table(acpi_physical_address address, | 297 | acpi_tb_install_table(acpi_physical_address address, |
299 | u8 flags, char *signature, u32 table_index) | 298 | char *signature, u32 table_index) |
300 | { | 299 | { |
300 | u8 flags; | ||
301 | acpi_status status; | 301 | acpi_status status; |
302 | struct acpi_table_header *table_to_install; | 302 | struct acpi_table_header *table_to_install; |
303 | struct acpi_table_header *mapped_table; | 303 | struct acpi_table_header *mapped_table; |
@@ -344,12 +344,13 @@ acpi_tb_install_table(acpi_physical_address address, | |||
344 | 344 | ||
345 | acpi_gbl_root_table_list.tables[table_index].pointer = | 345 | acpi_gbl_root_table_list.tables[table_index].pointer = |
346 | override_table; | 346 | override_table; |
347 | flags = ACPI_TABLE_ORIGIN_OVERRIDE; | ||
348 | address = ACPI_PTR_TO_PHYSADDR(override_table); | 347 | address = ACPI_PTR_TO_PHYSADDR(override_table); |
349 | 348 | ||
350 | table_to_install = override_table; | 349 | table_to_install = override_table; |
350 | flags = ACPI_TABLE_ORIGIN_OVERRIDE; | ||
351 | } else { | 351 | } else { |
352 | table_to_install = mapped_table; | 352 | table_to_install = mapped_table; |
353 | flags = ACPI_TABLE_ORIGIN_MAPPED; | ||
353 | } | 354 | } |
354 | 355 | ||
355 | /* Initialize the table entry */ | 356 | /* Initialize the table entry */ |
@@ -435,7 +436,6 @@ acpi_tb_get_root_table_entry(u8 *table_entry, u32 table_entry_size) | |||
435 | * FUNCTION: acpi_tb_parse_root_table | 436 | * FUNCTION: acpi_tb_parse_root_table |
436 | * | 437 | * |
437 | * PARAMETERS: Rsdp - Pointer to the RSDP | 438 | * PARAMETERS: Rsdp - Pointer to the RSDP |
438 | * Flags - Flags | ||
439 | * | 439 | * |
440 | * RETURN: Status | 440 | * RETURN: Status |
441 | * | 441 | * |
@@ -449,7 +449,7 @@ acpi_tb_get_root_table_entry(u8 *table_entry, u32 table_entry_size) | |||
449 | ******************************************************************************/ | 449 | ******************************************************************************/ |
450 | 450 | ||
451 | acpi_status __init | 451 | acpi_status __init |
452 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags) | 452 | acpi_tb_parse_root_table(acpi_physical_address rsdp_address) |
453 | { | 453 | { |
454 | struct acpi_table_rsdp *rsdp; | 454 | struct acpi_table_rsdp *rsdp; |
455 | u32 table_entry_size; | 455 | u32 table_entry_size; |
@@ -600,14 +600,14 @@ acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags) | |||
600 | */ | 600 | */ |
601 | for (i = 2; i < acpi_gbl_root_table_list.count; i++) { | 601 | for (i = 2; i < acpi_gbl_root_table_list.count; i++) { |
602 | acpi_tb_install_table(acpi_gbl_root_table_list.tables[i]. | 602 | acpi_tb_install_table(acpi_gbl_root_table_list.tables[i]. |
603 | address, flags, NULL, i); | 603 | address, NULL, i); |
604 | 604 | ||
605 | /* Special case for FADT - get the DSDT and FACS */ | 605 | /* Special case for FADT - get the DSDT and FACS */ |
606 | 606 | ||
607 | if (ACPI_COMPARE_NAME | 607 | if (ACPI_COMPARE_NAME |
608 | (&acpi_gbl_root_table_list.tables[i].signature, | 608 | (&acpi_gbl_root_table_list.tables[i].signature, |
609 | ACPI_SIG_FADT)) { | 609 | ACPI_SIG_FADT)) { |
610 | acpi_tb_parse_fadt(i, flags); | 610 | acpi_tb_parse_fadt(i); |
611 | } | 611 | } |
612 | } | 612 | } |
613 | 613 | ||