Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2018 19:35:55 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r327556 - stable/11/sys/dev/acpica/Osd
Message-ID:  <201801041935.w04JZt7K036028@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801041935.w04JZt7K036028>