Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2016 15:35:40 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308837 - head/sys/arm/ti
Message-ID:  <201611191535.uAJFZegr026511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Sat Nov 19 15:35:40 2016
New Revision: 308837
URL: https://svnweb.freebsd.org/changeset/base/308837

Log:
  Don't panic if it's not a TI chip, this code can be called when it is not.

Modified:
  head/sys/arm/ti/ti_cpuid.h

Modified: head/sys/arm/ti/ti_cpuid.h
==============================================================================
--- head/sys/arm/ti/ti_cpuid.h	Sat Nov 19 15:35:10 2016	(r308836)
+++ head/sys/arm/ti/ti_cpuid.h	Sat Nov 19 15:35:40 2016	(r308837)
@@ -74,7 +74,6 @@ extern int _ti_chip;
 
 static __inline int ti_chip(void)
 {
-	KASSERT(_ti_chip != -1, ("Can't determine TI Chip"));
 	return _ti_chip;
 }
 



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