Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/arm32/footbridge pullup 1.1->1.2 (Mark Brinico...



details:   https://anonhg.NetBSD.org/src/rev/2d9048d510e8
branches:  netbsd-1-4
changeset: 468444:2d9048d510e8
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Apr 23 15:43:27 1999 +0000

description:
pullup 1.1->1.2 (Mark Brinicombe)

diffstat:

 sys/arch/arm32/footbridge/footbridge_clock.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a6a8e7a5bdba -r 2d9048d510e8 sys/arch/arm32/footbridge/footbridge_clock.c
--- a/sys/arch/arm32/footbridge/footbridge_clock.c      Fri Apr 23 15:41:43 1999 +0000
+++ b/sys/arch/arm32/footbridge/footbridge_clock.c      Fri Apr 23 15:43:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge_clock.c,v 1.1 1998/09/06 02:20:34 mark Exp $        */
+/*     $NetBSD: footbridge_clock.c,v 1.1.6.1 1999/04/23 15:43:27 perry Exp $   */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -242,6 +242,9 @@
        int deltatm;
        static struct timeval oldtv;
 
+       if (clock_sc == NULL || clock_sc->sc_clock_count == 0)
+               return;
+
        s = splhigh();
 
        tm = bus_space_read_4(clock_sc->sc_iot, clock_sc->sc_ioh,



Home | Main Index | Thread Index | Old Index