Re: [patch] generic-hardirqs.patch, 2.6.9-rc1-bk14

Zwane Mwaikambo
2004-09-08T13:33:11Z

On Wed, 8 Sep 2004, William Lee Irwin III wrote:

> * Christoph Hellwig <hch@infradead.org> wrote:
> >> And make hardirq.o dependent on some symbols the architectures set.
> >> Else arches that don't use it carry tons of useless baggage around
> >> (and in fact I'm pretty sure it wouldn't even compie for many)
>
> On Wed, Sep 08, 2004 at 02:45:47PM +0200, Ingo Molnar wrote:
> > it compiles fine on x86, x64, ppc and ppc64. Why do you think it wont
> > compile on others?
> > wrt. unused generic functions - why dont we drop them link-time?
>
> It may be time for a __weak define to abbreviate __attribute__((weak));
> we seem to use it in enough places.

Hmm, whenever i've brought up weak functions in a patch it's never well
received. Frankly i prefer it to littering the architectures with similar
functions.

Zwane