netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: Re: Link error with linux-2.5 bk
@ 2004-01-21 17:36 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2004-01-21 17:36 UTC (permalink / raw)
  To: jgarzik, netdev



Forgot to set correct cc originally.

Begin forwarded message:

Date: Wed, 21 Jan 2004 18:20:19 +0100
From: Andi Kleen <ak@suse.de>
To: "Luck, Tony" <tony.luck@intel.com>
Cc: mort@wildopensource.com, linux-ia64@vger.kernel.org
Subject: Re: Link error with linux-2.5 bk


On Wed, 21 Jan 2004 08:55:19 -0800
"Luck, Tony" <tony.luck@intel.com> wrote:

> >   LD      .tmp_vmlinux1
> > local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
> 
> My money is on this change to drivers/net/dummy.c (clipped from diff
> between bk3 and bk4 trees).  "dummy_free_one()" is marked as __exit (so
> we'll try to discard it), but it is called by dummy_init_module().
> 
> Dropping the "__exit" will fix it (but there may be other fixes).  Copying
> Andi Kleen, as according to BitKeeper he appears to be the author of this
> change.

Yep, the __exit is wrong. Thanks, Tony.

Jeff, can you apply this patch, please? It should fix compiling in of the dummy
device. 

Thanks.

-Andi

--- linux-2.6.2rc1-amd64/drivers/net/dummy.c-o	2004-01-21 15:52:42.000000000 +0100
+++ linux-2.6.2rc1-amd64/drivers/net/dummy.c	2004-01-21 18:19:05.000000000 +0100
@@ -112,7 +112,7 @@
 	return err;
 }
 
-static void __exit dummy_free_one(int index) 
+static void dummy_free_one(int index) 
 {
 	unregister_netdev(dummies[index]);
 	free_netdev(dummies[index]);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-21 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-21 17:36 Fw: Re: Link error with linux-2.5 bk Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).