Prefer KASSERT(9) over panic(9) as it was never seen in reality.
This commit is contained in:
parent
9a29d48c18
commit
a3d023442b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user