Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/ingenic don't mess with the cycle counter e...



details:   https://anonhg.NetBSD.org/src/rev/d2eceaa9cd9c
branches:  trunk
changeset: 809295:d2eceaa9cd9c
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Jun 30 04:10:10 2015 +0000

description:
don't mess with the cycle counter event counter, out timer interrupt comes
from elsewhere and is counted there

diffstat:

 sys/arch/evbmips/ingenic/clock.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 42d5f3314af6 -r d2eceaa9cd9c sys/arch/evbmips/ingenic/clock.c
--- a/sys/arch/evbmips/ingenic/clock.c  Tue Jun 30 03:55:23 2015 +0000
+++ b/sys/arch/evbmips/ingenic/clock.c  Tue Jun 30 04:10:10 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.5 2014/12/31 15:25:08 martin Exp $ */
+/*     $NetBSD: clock.c,v 1.6 2015/06/30 04:10:10 macallan Exp $ */
 
 /*-
  * Copyright (c) 2014 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.5 2014/12/31 15:25:08 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.6 2015/06/30 04:10:10 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -194,7 +194,6 @@
 #ifdef USE_OST
        uint32_t new_cnt;
 #endif
-       ci->ci_ev_count_compare.ev_count++;
 
        /* clear flags */
        writereg(JZ_TC_TFCR, TFR_OSTFLAG);



Home | Main Index | Thread Index | Old Index