[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070410.190528.91443205.davem@davemloft.net>
Date: Tue, 10 Apr 2007 19:05:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: mathieu.desnoyers@...ymtl.ca, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, shemminger@...ux-foundation.org,
heiko.carstens@...ibm.com
Subject: Re: link error : 2.6.21-rc6-mm1 for s390
From: Andrew Morton <akpm@...ux-foundation.org>
Date: Tue, 10 Apr 2007 18:47:38 -0700
> On Tue, 10 Apr 2007 18:36:29 -0700 (PDT)
> David Miller <davem@...emloft.net> wrote:
>
> > From: Andrew Morton <akpm@...ux-foundation.org>
> > Date: Tue, 10 Apr 2007 18:29:37 -0700
> >
> > > git-net.patch implements generic lib/div64.c, but s390 also has a
> > > private one. Presumably the appropriate fix is to remove s390's
> > > private implementation within davem's tree.
> >
> > The s390 version seems to be optimized in assembler for that
> > processor, therefore we should probably instead elide the
> > generic version on s390.
>
> We're sure that it has the same API?
Yes, I read over it, I'm pretty sure it does.
> attribute(weak) would give a nicer result?
I'm not so sure.
> We'd also need to remove s390's EXPORT_SYMBOL(__div64_32), so s390 ends up
> using lib/div64.c's EXPORT_SYMBOL().
It shouldn't matter if we use s390's or the generic version's....
Oh, I see, s390 uses lib-y for it's div64.o object, that's a bug.
I'll fix that up, thanks Andrew.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists