PERFORCE change 42570 for review

Peter Wemm peter at FreeBSD.org
Sun Nov 16 13:35:38 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42570

Change 42570 by peter at peter_overcee on 2003/11/16 13:35:11

	get rid of leftover timer0 fudgery
	oops. add back forward_hardclock() call for SMP

Affected files ...

.. //depot/projects/hammer/sys/amd64/isa/clock.c#15 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/isa/clock.c#15 (text+ko) ====

@@ -125,7 +125,6 @@
 #define	ACQUIRE_PENDING	3
 
 static	u_char	timer2_state;
-static	void	(*timer_func)(struct clockframe *frame) = hardclock;
 
 static	unsigned i8254_get_timecount(struct timecounter *tc);
 static	void	set_timer_freq(u_int freq, int intr_freq);
@@ -154,7 +153,10 @@
 		clkintr_pending = 0;
 		mtx_unlock_spin(&clock_lock);
 	}
-	timer_func(frame);
+	hardclock(frame);
+#ifdef SMP
+	forward_hardclock();
+#endif
 }
 
 int


More information about the p4-projects mailing list