patch-2.4.11-dontuse linux/include/net/route.h

Next file: linux/include/net/tcp.h
Previous file: linux/include/net/irda/vlsi_ir.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/include/net/route.h linux/include/net/route.h
@@ -30,6 +30,7 @@
 #include <linux/in_route.h>
 #include <linux/rtnetlink.h>
 #include <linux/route.h>
+#include <linux/cache.h>
 
 #ifndef __KERNEL__
 #warning This file is not supposed to be used outside of kernel.
@@ -105,7 +106,7 @@
         unsigned int out_hit;
         unsigned int out_slow_tot;
         unsigned int out_slow_mc;
-};
+} ____cacheline_aligned_in_smp;
 
 extern struct ip_rt_acct *ip_rt_acct;
 

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