Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi fix wrong counter_mask assignment due to ...



details:   https://anonhg.NetBSD.org/src/rev/9f9ca53433b3
branches:  trunk
changeset: 840188:9f9ca53433b3
user:      tnn <tnn%NetBSD.org@localhost>
date:      Wed Mar 27 06:56:19 2019 +0000

description:
fix wrong counter_mask assignment due to typo in previous

diffstat:

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

diffs (27 lines):

diff -r 68b855b99cc3 -r 9f9ca53433b3 sys/arch/arm/sunxi/sunxi_timer.c
--- a/sys/arch/arm/sunxi/sunxi_timer.c  Wed Mar 27 06:55:09 2019 +0000
+++ b/sys/arch/arm/sunxi/sunxi_timer.c  Wed Mar 27 06:56:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_timer.c,v 1.4 2019/03/26 23:26:03 tnn Exp $ */
+/* $NetBSD: sunxi_timer.c,v 1.5 2019/03/27 06:56:19 tnn Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_timer.c,v 1.4 2019/03/26 23:26:03 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_timer.c,v 1.5 2019/03/27 06:56:19 tnn Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -229,7 +229,7 @@
        tc->tc_priv = sc;
        tc_init(tc);
        tc_losc->tc_get_timecount = sunxi_timer_get_timecount_losc;
-       tc_losc->tc_counter_mask = ~0u,
+       tc_losc->tc_counter_mask = ~0u;
        tc_losc->tc_frequency = 32768;
        tc_losc->tc_name = "LOSC";
        tc_losc->tc_quality = 150;



Home | Main Index | Thread Index | Old Index