Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/macppc Move variable tickspending to clock.c...
details: https://anonhg.NetBSD.org/src/rev/e23ad182eacf
branches: trunk
changeset: 500750:e23ad182eacf
user: tsubai <tsubai%NetBSD.org@localhost>
date: Sun Dec 17 23:16:22 2000 +0000
description:
Move variable tickspending to clock.c; it's used in only clock.c.
diffstat:
sys/arch/macppc/macppc/clock.c | 6 +++---
sys/arch/macppc/macppc/extintr.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 3bd0512425f1 -r e23ad182eacf sys/arch/macppc/macppc/clock.c
--- a/sys/arch/macppc/macppc/clock.c Sun Dec 17 22:57:35 2000 +0000
+++ b/sys/arch/macppc/macppc/clock.c Sun Dec 17 23:16:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.13 2000/08/20 07:48:45 tsubai Exp $ */
+/* $NetBSD: clock.c,v 1.14 2000/12/17 23:16:22 tsubai Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -49,6 +49,8 @@
static u_long ns_per_tick = 80;
static long ticks_per_intr;
static volatile u_long lasttb;
+static int clockinitted = 0;
+volatile int tickspending;
#ifdef TIMEBASE_FREQ
u_int timebase_freq = TIMEBASE_FREQ;
@@ -64,8 +66,6 @@
extern int adb_set_date_time __P((int));
#endif
-static int clockinitted = 0;
-
void
inittodr(base)
time_t base;
diff -r 3bd0512425f1 -r e23ad182eacf sys/arch/macppc/macppc/extintr.c
--- a/sys/arch/macppc/macppc/extintr.c Sun Dec 17 22:57:35 2000 +0000
+++ b/sys/arch/macppc/macppc/extintr.c Sun Dec 17 23:16:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: extintr.c,v 1.17 2000/12/01 18:09:01 kei Exp $ */
+/* $NetBSD: extintr.c,v 1.18 2000/12/17 23:16:22 tsubai Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -77,7 +77,7 @@
static void do_pending_int __P((void));
unsigned int imen = 0xffffffff;
-volatile int cpl, ipending, astpending, tickspending;
+volatile int cpl, ipending, astpending;
int imask[NIPL];
int intrtype[NIRQ], intrmask[NIRQ], intrlevel[NIRQ];
Home |
Main Index |
Thread Index |
Old Index