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

Next file: linux/net/core/skbuff.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/net/bridge/br.c linux/net/bridge/br.c
@@ -87,6 +87,7 @@
 #include <linux/rtnetlink.h>
 #include <net/br.h>
 #include <linux/proc_fs.h>
+#include <linux/delay.h>
 
 #ifndef min
 #define min(a, b) (((a) <= (b)) ? (a) : (b))
@@ -2425,7 +2426,7 @@
 
   /* Set up MAC address based on BogoMIPs figure for first CPU and time
    */ 
-  bogomips = (boot_cpu_data.loops_per_sec+2500)/500000 ;
+  bogomips = (loops_per_sec+2500)/500000 ;
   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)