summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-11-23 18:20:32 +0000
committerandrew <andrew@FreeBSD.org>2015-11-23 18:20:32 +0000
commite1cab9dbc2d77c0559db7b68055412379bca012a (patch)
treef3a65e39f6bc8442829c070dd41d8f8df0c501e0
parent114e179345185f1dcad9eb27cb3cd638af89f1be (diff)
downloadFreeBSD-src-e1cab9dbc2d77c0559db7b68055412379bca012a.zip
FreeBSD-src-e1cab9dbc2d77c0559db7b68055412379bca012a.tar.gz
Use #ifdef to get the file compiling without errors
-rw-r--r--sys/arm/arm/pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/pmu.c b/sys/arm/arm/pmu.c
index 4212729..c98d6c9 100644
--- a/sys/arm/arm/pmu.c
+++ b/sys/arm/arm/pmu.c
@@ -89,7 +89,7 @@ static struct ofw_compat_data compat_data[] = {
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 },
OpenPOWER on IntegriCloud