diff options
author | Bob Moore <robert.moore@intel.com> | 2013-10-28 21:28:56 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-30 07:24:20 -0400 |
commit | d7da179423a506e8033a376547a375c0c9ec7671 (patch) | |
tree | d503b5269e62650ac259fb35198715a68ff86e74 | |
parent | 1b673f23d95f0bbc7e3c95321864b727ea75704b (diff) |
ACPICA: Table print header function: Increase default width for table length.
This change increases the default width for the length of tables from
5 to 6, to improve alignment/readability on systems with large tables.
These are being seen more frequently, especially large DSDTs (greater
than 1 MB).
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/acpica/tbprint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/tbprint.c b/drivers/acpi/acpica/tbprint.c index 9a47715af1f3..6866e767ba90 100644 --- a/drivers/acpi/acpica/tbprint.c +++ b/drivers/acpi/acpica/tbprint.c | |||
@@ -135,7 +135,7 @@ acpi_tb_print_table_header(acpi_physical_address address, | |||
135 | 135 | ||
136 | /* FACS only has signature and length fields */ | 136 | /* FACS only has signature and length fields */ |
137 | 137 | ||
138 | ACPI_INFO((AE_INFO, "%4.4s %p %05X", | 138 | ACPI_INFO((AE_INFO, "%4.4s %p %06X", |
139 | header->signature, ACPI_CAST_PTR(void, address), | 139 | header->signature, ACPI_CAST_PTR(void, address), |
140 | header->length)); | 140 | header->length)); |
141 | } else if (ACPI_VALIDATE_RSDP_SIG(header->signature)) { | 141 | } else if (ACPI_VALIDATE_RSDP_SIG(header->signature)) { |
@@ -147,7 +147,7 @@ acpi_tb_print_table_header(acpi_physical_address address, | |||
147 | header)->oem_id, ACPI_OEM_ID_SIZE); | 147 | header)->oem_id, ACPI_OEM_ID_SIZE); |
148 | acpi_tb_fix_string(local_header.oem_id, ACPI_OEM_ID_SIZE); | 148 | acpi_tb_fix_string(local_header.oem_id, ACPI_OEM_ID_SIZE); |
149 | 149 | ||
150 | ACPI_INFO((AE_INFO, "RSDP %p %05X (v%.2d %6.6s)", | 150 | ACPI_INFO((AE_INFO, "RSDP %p %06X (v%.2d %6.6s)", |
151 | ACPI_CAST_PTR(void, address), | 151 | ACPI_CAST_PTR(void, address), |
152 | (ACPI_CAST_PTR(struct acpi_table_rsdp, header)-> | 152 | (ACPI_CAST_PTR(struct acpi_table_rsdp, header)-> |
153 | revision > | 153 | revision > |
@@ -162,7 +162,7 @@ acpi_tb_print_table_header(acpi_physical_address address, | |||
162 | acpi_tb_cleanup_table_header(&local_header, header); | 162 | acpi_tb_cleanup_table_header(&local_header, header); |
163 | 163 | ||
164 | ACPI_INFO((AE_INFO, | 164 | ACPI_INFO((AE_INFO, |
165 | "%4.4s %p %05X (v%.2d %6.6s %8.8s %08X %4.4s %08X)", | 165 | "%4.4s %p %06X (v%.2d %6.6s %8.8s %08X %4.4s %08X)", |
166 | local_header.signature, ACPI_CAST_PTR(void, address), | 166 | local_header.signature, ACPI_CAST_PTR(void, address), |
167 | local_header.length, local_header.revision, | 167 | local_header.length, local_header.revision, |
168 | local_header.oem_id, local_header.oem_table_id, | 168 | local_header.oem_id, local_header.oem_table_id, |