diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2004-12-01 04:34:08 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-12-01 04:34:08 +0000 |
| commit | 0297d51ea3ceb21feefa24b902993e6b179ab8d2 (patch) | |
| tree | 7c458a4fd86779e59fae2693f4a8537e0af35d8d | |
| parent | 69fb23b73dc7148de0f5b9857f80abeee6ac0cb0 (diff) | |
Notes
| -rw-r--r-- | sys/dev/acpica/acpi_pci_link.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c index 9b4ff66bc023..13ab3b507032 100644 --- a/sys/dev/acpica/acpi_pci_link.c +++ b/sys/dev/acpica/acpi_pci_link.c @@ -270,6 +270,9 @@ acpi_pci_link_dump(struct acpi_pci_link_softc *sc) struct link *link; int i, j; +#ifdef SMP + ACPI_SERIAL_ASSERT(pci_link); +#endif printf("Index IRQ Rtd Ref IRQs\n"); for (i = 0; i < sc->pl_num_links; i++) { link = &sc->pl_links[i]; @@ -293,6 +296,9 @@ acpi_pci_link_attach(device_t dev) int prslinks; sc = device_get_softc(dev); +#ifdef SMP + ACPI_SERIAL_BEGIN(pci_link); +#endif /* * Count the number of current resources so we know how big of @@ -377,9 +383,15 @@ acpi_pci_link_attach(device_t dev) device_printf(dev, "Links after disable:\n"); acpi_pci_link_dump(sc); } +#ifdef SMP + ACPI_SERIAL_END(pci_link); +#endif return (0); fail: +#ifdef SMP + ACPI_SERIAL_END(pci_link); +#endif for (i = 0; i < sc->pl_num_links; i++) if (sc->pl_links[i].l_irqs != NULL) free(sc->pl_links[i].l_irqs, M_PCI_LINK); |
