Author: jkim
Date: Mon Jan 10 20:26:36 2011
New Revision: 217236
URL: http://svn.freebsd.org/changeset/base/217236
Log:
Prefer KASSERT(9) over panic(9) as it was never seen in reality.
Modified:
head/sys/dev/acpica/Osd/OsdSchedule.c
Modified: head/sys/dev/acpica/Osd/OsdSchedule.c
==============================================================================
--- head/sys/dev/acpica/Osd/OsdSchedule.c Mon Jan 10 19:59:20 2011
(r217235)
+++ head/sys/dev/acpica/Osd/OsdSchedule.c Mon Jan 10 20:26:36 2011
(r217236)
@@ -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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"