lkml.org 
[lkml]   [1999]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[FIX] 2.2.6-ac3 compilation with 3c507 and SMP
2.2.6-ac3 doesn't compile with 3c507 and SMP.
I've attached a fix.

LLaP
bero

diff -urN linux-orig/drivers/net/3c507.c linux/drivers/net/3c507.c
--- linux-orig/drivers/net/3c507.c Wed Apr 28 17:11:33 1999
+++ linux/drivers/net/3c507.c Wed Apr 28 17:14:45 1999
@@ -450,6 +450,9 @@
struct net_local *lp = (struct net_local *)dev->priv;
int ioaddr = dev->base_addr;
unsigned long shmem = dev->mem_start;
+#ifdef CONFIG_SMP
+ unsigned long flags;
+#endif

if (dev->tbusy)
{
\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.030 / U:2.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site