PERFORCE change 119119 for review

Bruce M Simpson bms at FreeBSD.org
Tue May 1 20:15:41 UTC 2007


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

Change 119119 by bms at bms_anglepoise on 2007/05/01 20:14:54

	more style fixes

Affected files ...

.. //depot/projects/mips2/src/sys/mips/mips/tick.c#8 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/mips/tick.c#8 (text+ko) ====

@@ -130,6 +130,7 @@
 
 void tick_init(void)
 {
+
 	if (counter_freq != 0 && !counter_is_broken) {
 		counter_timecounter.tc_frequency = counter_freq;
 		tc_init(&counter_timecounter);
@@ -216,17 +217,17 @@
 	usermode = tf->tf_regs[TF_SR] & MIPS_SR_KSU_USER;
 	pc = tf->tf_regs[TF_EPC];
 
-	if (clocks_running)
-	{
+	if (clocks_running) {
 		hardclock(usermode, pc);
 	}
 
-	return FILTER_HANDLED;
+	return (FILTER_HANDLED);
 }
 
 static int
 clock_probe(device_t dev)
 {
+
 	if (device_get_unit(dev) != 0)
 		panic("can't attach more clocks");
 
@@ -237,6 +238,7 @@
 static void
 clock_identify(driver_t *drv, device_t parent)
 {
+
 	BUS_ADD_CHILD(parent, 0, "clock", 0);
 }
 


More information about the p4-projects mailing list