X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fs390%2Fnet%2Fiucv.c;h=999991d0b670ddef2af6a3260e06a22c59e8e409;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=8c63753c35e669cd4f2d44fc835a3c97c95f5732;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/s390/net/iucv.c b/drivers/s390/net/iucv.c index 8c63753c3..999991d0b 100644 --- a/drivers/s390/net/iucv.c +++ b/drivers/s390/net/iucv.c @@ -1,5 +1,5 @@ /* - * $Id: iucv.c,v 1.40 2004/08/04 12:29:33 cborntra Exp $ + * $Id: iucv.c,v 1.42 2005/01/07 10:49:54 braunu Exp $ * * IUCV network driver * @@ -29,7 +29,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * RELEASE-TAG: IUCV lowlevel driver $Revision: 1.40 $ + * RELEASE-TAG: IUCV lowlevel driver $Revision: 1.42 $ * */ @@ -103,7 +103,7 @@ static iucv_GeneralInterrupt *iucv_external_int_buffer = NULL; /* Spin Lock declaration */ -static spinlock_t iucv_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(iucv_lock); static int messagesDisabled = 0; @@ -115,7 +115,7 @@ typedef struct { } iucv_irqdata; static struct list_head iucv_irq_queue; -static spinlock_t iucv_irq_queue_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(iucv_irq_queue_lock); /* *Internal function prototypes @@ -355,7 +355,7 @@ do { \ static void iucv_banner(void) { - char vbuf[] = "$Revision: 1.40 $"; + char vbuf[] = "$Revision: 1.42 $"; char *version = vbuf; if ((version = strchr(version, ':'))) { @@ -2285,7 +2285,6 @@ iucv_irq_handler(struct pt_regs *regs, __u16 code) irqdata = kmalloc(sizeof(iucv_irqdata), GFP_ATOMIC); if (!irqdata) { printk(KERN_WARNING "%s: out of memory\n", __FUNCTION__); - irq_exit(); return; } @@ -2550,9 +2549,9 @@ EXPORT_SYMBOL (iucv_reject); #if 0 EXPORT_SYMBOL (iucv_reply); EXPORT_SYMBOL (iucv_reply_array); -EXPORT_SYMBOL (iucv_reply_prmmsg); EXPORT_SYMBOL (iucv_resume); #endif +EXPORT_SYMBOL (iucv_reply_prmmsg); EXPORT_SYMBOL (iucv_send); #if 0 EXPORT_SYMBOL (iucv_send2way);