[lkml]   [1999]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[2.2.8] undefined reference to `disable_irq_nosync' (+ fix)
Hi *,

I got the following error in my make (on ev56 Alpha):

drivers/net/net.a(8390.o): In function `ei_start_xmit':
8390.c(.text+0x270): undefined reference to `disable_irq_nosync'
8390.c(.text+0x274): undefined reference to `disable_irq_nosync'
8390.c(.text+0x300): undefined reference to `disable_irq_nosync'
8390.c(.text+0x304): undefined reference to `disable_irq_nosync'
make: *** [vmlinux] Error 1

I can't seem to find disable_irq_nosync in asm/irq.h, which is where I
found disable_irq. The version of 8390.c contains disable_irq, and
changing that back fixes the problem.

Hope this helps,

Bas Vermeulen

If I wanted to kill a battleship, I'd use a shitload of
Harpoons. -- Paul Tomblin

NT is a lot cheaper. -- Petro
--- drivers/net/8390.c.orig Wed May 12 00:25:31 1999
+++ drivers/net/8390.c Wed May 12 00:57:02 1999
@@ -257,7 +257,7 @@

/* Ugly but a reset can be slow, yet must be protected */

- disable_irq_nosync(dev->irq);
+ disable_irq(dev->irq);

/* Try to restart the card. Perhaps the user has fixed something. */
@@ -285,7 +285,7 @@
* Slow phase with lock held.

- disable_irq_nosync(dev->irq);
+ disable_irq(dev->irq);

 \ /
  Last update: 2005-03-22 13:51    [W:0.114 / U:1.060 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site