diff options
author | attilio <attilio@FreeBSD.org> | 2013-05-08 21:06:47 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-05-08 21:06:47 +0000 |
commit | 68174eb5528452343b04eb081781269b514fcc10 (patch) | |
tree | 34df5ef638c214fe59dd37c5aa9e767cce696359 | |
parent | cbecbe42ad9440e6461b8f10839857a378ad62bb (diff) | |
download | FreeBSD-src-68174eb5528452343b04eb081781269b514fcc10.zip FreeBSD-src-68174eb5528452343b04eb081781269b514fcc10.tar.gz |
Revert r250339 as apparently it is more clutter than help.
Sponsored by: EMC / Isilon storage division
Requested by: jhb
-rw-r--r-- | sys/x86/acpica/srat.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sys/x86/acpica/srat.c b/sys/x86/acpica/srat.c index c2d7268..8737688 100644 --- a/sys/x86/acpica/srat.c +++ b/sys/x86/acpica/srat.c @@ -331,48 +331,6 @@ srat_walk_table(acpi_subtable_handler *handler, void *arg) acpi_walk_subtables(srat + 1, (char *)srat + srat->Header.Length, handler, arg); } - -static void -acpi_handle_slit(ACPI_TABLE_SLIT *slit) -{ - UINT64 i, j; - - printf("ACPI System Locality Information Table: %ju localities\n", - (uintmax_t)slit->LocalityCount); - printf(" "); - for (i = 0; i < slit->LocalityCount; i++) - printf(" %3ju", (uintmax_t)i); - printf("\n +"); - for (i = 0; i < slit->LocalityCount; i++) - printf("----"); - printf("\n"); - for (i = 0; i < slit->LocalityCount; i++) { - printf(" %3ju |", (uintmax_t)i); - for (j = 0; j < slit->LocalityCount; j++) - printf(" %3u", - slit->Entry[i * slit->LocalityCount + j]); - printf("\n"); - } -} - -static void -parse_slit(void *arg __unused) -{ - ACPI_TABLE_SLIT *slit; - vm_paddr_t slit_physaddr; - - if (resource_disabled("slit", 0)) - return; - - slit_physaddr = acpi_find_table(ACPI_SIG_SLIT); - if (slit_physaddr == 0) - return; - slit = acpi_map_table(slit_physaddr, ACPI_SIG_SLIT); - acpi_handle_slit(slit); - acpi_unmap_table(slit); -} - -SYSINIT(parse_slit, SI_SUB_VM - 1, SI_ORDER_SECOND, parse_slit, NULL); /* * Setup per-CPU ACPI IDs. |