svn commit: r291216 - head/sys/arm/arm

Andrew Turner andrew at FreeBSD.org
Mon Nov 23 18:20:34 UTC 2015


Author: andrew
Date: Mon Nov 23 18:20:32 2015
New Revision: 291216
URL: https://svnweb.freebsd.org/changeset/base/291216

Log:
  Use #ifdef to get the file compiling without errors

Modified:
  head/sys/arm/arm/pmu.c

Modified: head/sys/arm/arm/pmu.c
==============================================================================
--- head/sys/arm/arm/pmu.c	Mon Nov 23 18:00:55 2015	(r291215)
+++ head/sys/arm/arm/pmu.c	Mon Nov 23 18:20:32 2015	(r291216)
@@ -89,7 +89,7 @@ static struct ofw_compat_data compat_dat
 static struct resource_spec pmu_spec[] = {
 	{ SYS_RES_IRQ,		0,	RF_ACTIVE },
 	/* We don't currently handle pmu events, other than on cpu 0 */
-#if notyet
+#ifdef notyet
 	{ SYS_RES_IRQ,		1,	RF_ACTIVE | RF_OPTIONAL },
 	{ SYS_RES_IRQ,		2,	RF_ACTIVE | RF_OPTIONAL },
 	{ SYS_RES_IRQ,		3,	RF_ACTIVE | RF_OPTIONAL },


More information about the svn-src-head mailing list