ACPICA: Tables: Cleanup RSDP signature codes.
This patch introduces new macors to handle RSDP signature and cleans up the affected codes. Lv Zheng. Some updates are only used for ACPICA utilities which are not shipped in the kernel yet. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Reviewed-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Этот коммит содержится в:

коммит произвёл
Rafael J. Wysocki

родитель
94d4be6773
Коммит
cacba86573
@@ -138,7 +138,7 @@ acpi_tb_print_table_header(acpi_physical_address address,
|
||||
ACPI_INFO((AE_INFO, "%4.4s %p %05X",
|
||||
header->signature, ACPI_CAST_PTR(void, address),
|
||||
header->length));
|
||||
} else if (ACPI_COMPARE_NAME(header->signature, ACPI_SIG_RSDP)) {
|
||||
} else if (ACPI_VALIDATE_RSDP_SIG(header->signature)) {
|
||||
|
||||
/* RSDP has no common fields */
|
||||
|
||||
|
Ссылка в новой задаче
Block a user