PERFORCE change 132437 for review
Warner Losh
imp at FreeBSD.org
Thu Jan 3 15:09:04 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=132437
Change 132437 by imp at imp_paco-paco on 2008/01/03 23:08:20
hack a little on clock.c, then punt. Not sure it is needed.
down to one file. Woo Hoo!
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/conf/files.mips#3 edit
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/clock.c#3 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/conf/files.mips#3 (text+ko) ====
@@ -56,7 +56,7 @@
# Phase 4
# ----------------------------------------------------------------------
#
-mips/mips/clock.c standard
+#mips/mips/clock.c standard
#mips/mips/queue.c standard
# ----------------------------------------------------------------------
# Phase 5
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/clock.c#3 (text+ko) ====
@@ -54,10 +54,6 @@
#include <machine/intr.h>
#include <machine/defs.h>
#include <machine/atomic.h>
-#if 0
-#include <machine/vchip_api.h>
-#include <dev/jnxhost/dog.h>
-#endif
struct clk_ticks {
u_long hard_ticks;
@@ -148,6 +144,8 @@
}
}
+void mips_start_timer(void);
+
void mips_start_timer(void)
{
@@ -165,8 +163,6 @@
static void
mips_timer_init(void)
{
- unsigned int ic_reg;
-
printf("mips_timer_init: starting the real time clock.\n");
/*
More information about the p4-projects
mailing list