Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/fdt aarch64 build fix



details:   https://anonhg.NetBSD.org/src/rev/9a9dc9a1e4bd
branches:  trunk
changeset: 324709:9a9dc9a1e4bd
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 16 10:49:52 2018 +0000

description:
aarch64 build fix

diffstat:

 sys/arch/arm/fdt/pmu_fdt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cfcec28162d2 -r 9a9dc9a1e4bd sys/arch/arm/fdt/pmu_fdt.c
--- a/sys/arch/arm/fdt/pmu_fdt.c        Mon Jul 16 10:13:34 2018 +0000
+++ b/sys/arch/arm/fdt/pmu_fdt.c        Mon Jul 16 10:49:52 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmu_fdt.c,v 1.2 2018/07/15 23:48:08 jmcneill Exp $ */
+/* $NetBSD: pmu_fdt.c,v 1.3 2018/07/16 10:49:52 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmu_fdt.c,v 1.2 2018/07/15 23:48:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmu_fdt.c,v 1.3 2018/07/16 10:49:52 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -39,7 +39,7 @@
 
 #include <dev/fdt/fdtvar.h>
 
-#if defined(_ARM_ARCH_8)
+#if defined(__aarch64__)
 #include <dev/tprof/tprof_armv8.h>
 #define arm_pmu_intr armv8_pmu_intr
 #define arm_pmu_init armv8_pmu_init



Home | Main Index | Thread Index | Old Index