patch-2.2.18 linux/net/bridge/br.c

Next file: linux/net/core/Makefile
Previous file: linux/net/ax25/ax25_ds_in.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/net/bridge/br.c linux/net/bridge/br.c
@@ -2455,7 +2455,7 @@
 
 	/* Set up MAC address based on BogoMIPs figure for first CPU and time
 	 */ 
-	bogomips = (loops_per_sec+2500)/500000 ;
+	bogomips = (loops_per_jiffy+2500)/500000/HZ ;
 	get_fast_time(&utime);
 
 	/* Ummmm....  YES! */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)