patch-2.2.18 linux/drivers/net/acenic.h

Next file: linux/drivers/net/am79c961a.c
Previous file: linux/drivers/net/acenic.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/net/acenic.h linux/drivers/net/acenic.h
@@ -609,7 +609,7 @@
 	struct timer_list	timer;
 
 	unsigned long		std_refill_busy
-				__attribute__ ((aligned (L1_CACHE_BYTES)));
+				__attribute__ ((aligned (SMP_CACHE_BYTES)));
 	unsigned long		mini_refill_busy, jumbo_refill_busy;
 	atomic_t		cur_rx_bufs,
 				cur_mini_bufs,
@@ -642,7 +642,7 @@
 	char			name[48];
 #ifdef INDEX_DEBUG
 	spinlock_t		debug_lock
-				__attribute__ ((aligned (L1_CACHE_BYTES)));;
+				__attribute__ ((aligned (SMP_CACHE_BYTES)));;
 	u32			last_tx, last_std_rx, last_mini_rx;
 #endif
 	struct net_device_stats stats;

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