aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables/tbxfroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/tables/tbxfroot.c')
-rw-r--r--drivers/acpi/tables/tbxfroot.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/acpi/tables/tbxfroot.c b/drivers/acpi/tables/tbxfroot.c
index 3107e741d510..da2648bbdbc0 100644
--- a/drivers/acpi/tables/tbxfroot.c
+++ b/drivers/acpi/tables/tbxfroot.c
@@ -472,10 +472,10 @@ static u8 *acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length)
472 * 472 *
473 * RETURN: Status, RSDP physical address 473 * RETURN: Status, RSDP physical address
474 * 474 *
475 * DESCRIPTION: search lower 1_mbyte of memory for the root system descriptor 475 * DESCRIPTION: Search lower 1_mbyte of memory for the root system descriptor
476 * pointer structure. If it is found, set *RSDP to point to it. 476 * pointer structure. If it is found, set *RSDP to point to it.
477 * 477 *
478 * NOTE1: The RSDp must be either in the first 1_k of the Extended 478 * NOTE1: The RSDP must be either in the first 1_k of the Extended
479 * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.) 479 * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.)
480 * Only a 32-bit physical address is necessary. 480 * Only a 32-bit physical address is necessary.
481 * 481 *
@@ -525,7 +525,7 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags)
525 525
526 if (physical_address > 0x400) { 526 if (physical_address > 0x400) {
527 /* 527 /*
528 * 1b) Search EBDA paragraphs (EBDa is required to be a 528 * 1b) Search EBDA paragraphs (EBDA is required to be a
529 * minimum of 1_k length) 529 * minimum of 1_k length)
530 */ 530 */
531 status = acpi_os_map_memory((acpi_physical_address) 531 status = acpi_os_map_memory((acpi_physical_address)
@@ -550,7 +550,7 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags)
550 /* Return the physical address */ 550 /* Return the physical address */
551 551
552 physical_address += 552 physical_address +=
553 ACPI_PTR_DIFF(mem_rover, table_ptr); 553 (u32) ACPI_PTR_DIFF(mem_rover, table_ptr);
554 554
555 table_info->physical_address = 555 table_info->physical_address =
556 (acpi_physical_address) physical_address; 556 (acpi_physical_address) physical_address;
@@ -584,9 +584,9 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags)
584 584
585 /* Return the physical address */ 585 /* Return the physical address */
586 586
587 physical_address = 587 physical_address = (u32)
588 ACPI_HI_RSDP_WINDOW_BASE + ACPI_PTR_DIFF(mem_rover, 588 (ACPI_HI_RSDP_WINDOW_BASE +
589 table_ptr); 589 ACPI_PTR_DIFF(mem_rover, table_ptr));
590 590
591 table_info->physical_address = 591 table_info->physical_address =
592 (acpi_physical_address) physical_address; 592 (acpi_physical_address) physical_address;
@@ -607,7 +607,7 @@ acpi_tb_find_rsdp(struct acpi_table_desc *table_info, u32 flags)
607 607
608 if (physical_address > 0x400) { 608 if (physical_address > 0x400) {
609 /* 609 /*
610 * 1b) Search EBDA paragraphs (EBDa is required to be a minimum of 610 * 1b) Search EBDA paragraphs (EBDA is required to be a minimum of
611 * 1_k length) 611 * 1_k length)
612 */ 612 */
613 mem_rover = 613 mem_rover =