diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2003-12-28 22:15:24 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2003-12-28 22:15:24 +0000 |
| commit | 501697936913a47e26ab9c1cc96bcff6ba12366a (patch) | |
| tree | 66cb0674e00b48ca5e95713d12690a3bef17672b | |
| parent | 6162a5f91ac69684cab1cbb1a4b7a9c310bdfe1a (diff) | |
Notes
| -rw-r--r-- | sys/dev/acpica/acpi_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c index 8ef96553938c..5601b359b3d8 100644 --- a/sys/dev/acpica/acpi_cpu.c +++ b/sys/dev/acpica/acpi_cpu.c @@ -395,7 +395,7 @@ acpi_cpu_throttle_probe(struct acpi_cpu_softc *sc) /* If _PTC not present or other failure, try the P_BLK. */ if (sc->cpu_p_cnt == NULL) { /* The spec says P_BLK must be at least 6 bytes long. */ - if (sc->cpu_p_blk_len != 6) + if (sc->cpu_p_blk == 0 || sc->cpu_p_blk_len != 6) return (ENXIO); gas.Address = sc->cpu_p_blk; gas.AddressSpaceId = ACPI_ADR_SPACE_SYSTEM_IO; |
