Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/tprof declare xc



details:   https://anonhg.NetBSD.org/src/rev/a0a01dd97e41
branches:  trunk
changeset: 1026483:a0a01dd97e41
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 26 13:24:28 2021 +0000

description:
declare xc

diffstat:

 sys/dev/tprof/tprof_armv7.c |  6 +++---
 sys/dev/tprof/tprof_armv8.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r d735675d5d8e -r a0a01dd97e41 sys/dev/tprof/tprof_armv7.c
--- a/sys/dev/tprof/tprof_armv7.c       Fri Nov 26 13:11:36 2021 +0000
+++ b/sys/dev/tprof/tprof_armv7.c       Fri Nov 26 13:24:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_armv7.c,v 1.5 2021/11/25 09:36:21 skrll Exp $ */
+/* $NetBSD: tprof_armv7.c,v 1.6 2021/11/26 13:24:28 christos Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_armv7.c,v 1.5 2021/11/25 09:36:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_armv7.c,v 1.6 2021/11/26 13:24:28 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -185,7 +185,7 @@
        counter_reset_val = -counter_val + 1;
 
        armv7_pmu_param = *param;
-       xc = xc_broadcast(0, armv7_pmu_start_cpu, NULL, NULL);
+       uint64_t xc = xc_broadcast(0, armv7_pmu_start_cpu, NULL, NULL);
        xc_wait(xc);
 
        return 0;
diff -r d735675d5d8e -r a0a01dd97e41 sys/dev/tprof/tprof_armv8.c
--- a/sys/dev/tprof/tprof_armv8.c       Fri Nov 26 13:11:36 2021 +0000
+++ b/sys/dev/tprof/tprof_armv8.c       Fri Nov 26 13:24:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_armv8.c,v 1.9 2021/11/25 09:36:21 skrll Exp $ */
+/* $NetBSD: tprof_armv8.c,v 1.10 2021/11/26 13:24:28 christos Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_armv8.c,v 1.9 2021/11/25 09:36:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_armv8.c,v 1.10 2021/11/26 13:24:28 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -163,7 +163,7 @@
        counter_reset_val = -counter_val + 1;
 
        armv8_pmu_param = *param;
-       xc = xc_broadcast(0, armv8_pmu_start_cpu, NULL, NULL);
+       uint64_t xc = xc_broadcast(0, armv8_pmu_start_cpu, NULL, NULL);
        xc_wait(xc);
 
        return 0;



Home | Main Index | Thread Index | Old Index