MFC r203430: acpi_cpu: correct capabilities arguments for Processor _OSC

This commit is contained in:
avg 2010-02-28 21:30:46 +00:00
parent d3d8a8d4af
commit d41a9bd221

View File

@ -378,7 +378,8 @@ acpi_cpu_attach(device_t dev)
arg[3].Type = ACPI_TYPE_BUFFER;
arg[3].Buffer.Length = sizeof(cap_set); /* Capabilities buffer */
arg[3].Buffer.Pointer = (uint8_t *)cap_set;
cap_set[0] = 0;
cap_set[0] = 0; /* status */
cap_set[1] = sc->cpu_features;
AcpiEvaluateObject(sc->cpu_handle, "_OSC", &arglist, NULL);
}