svn commit: r327556 - stable/11/sys/dev/acpica/Osd

Jung-uk Kim jkim at FreeBSD.org
Thu Jan 4 19:35:57 UTC 2018


Author: jkim
Date: Thu Jan  4 19:35:55 2018
New Revision: 327556
URL: https://svnweb.freebsd.org/changeset/base/327556

Log:
  MFC:	r324501
  
  Do not check whether AcpiOsGetTimer() is called during boot.

Modified:
  stable/11/sys/dev/acpica/Osd/OsdSchedule.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/acpica/Osd/OsdSchedule.c
==============================================================================
--- stable/11/sys/dev/acpica/Osd/OsdSchedule.c	Thu Jan  4 18:14:58 2018	(r327555)
+++ stable/11/sys/dev/acpica/Osd/OsdSchedule.c	Thu Jan  4 19:35:55 2018	(r327556)
@@ -274,9 +274,6 @@ AcpiOsGetTimer(void)
     struct bintime bt;
     UINT64 t;
 
-    /* XXX During early boot there is no (decent) timer available yet. */
-    KASSERT(cold == 0, ("acpi: timer op not yet supported during boot"));
-
     binuptime(&bt);
     t = (uint64_t)bt.sec * 10000000;
     t += ((uint64_t)10000000 * (uint32_t)(bt.frac >> 32)) >> 32;


More information about the svn-src-all mailing list