Prefer KASSERT(9) over panic(9) as it was never seen in reality.

This commit is contained in:
jkim 2011-01-10 20:26:36 +00:00
parent 9a29d48c18
commit a3d023442b

View File

@ -245,8 +245,7 @@ AcpiOsGetTimer(void)
UINT64 t;
/* XXX During early boot there is no (decent) timer available yet. */
if (cold)
panic("acpi: timer op not yet supported during boot");
KASSERT(cold == 0, ("acpi: timer op not yet supported during boot"));
binuptime(&bt);
t = ((UINT64)10000000 * (uint32_t)(bt.frac >> 32)) >> 32;