[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080405175233.GA4421@osiris.boeblingen.de.ibm.com>
Date: Sat, 5 Apr 2008 19:52:33 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Ralf Baechle <ralf@...ux-mips.org>
Cc: Johannes Weiner <hannes@...urebad.de>,
Sam Ravnborg <sam@...nborg.org>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, mingo@...e.hu, davem@...emloft.net,
hskinnemoen@...el.com, cooloney@...nel.org, starvik@...s.com,
dhowells@...hat.com, ysato@...rs.sourceforge.net,
takata@...ux-m32r.org, geert@...ux-m68k.org, kyle@...isc-linux.org,
paulus@...ba.org, schwidefsky@...ibm.com, lethal@...ux-sh.org,
jdike@...toit.com, miles@....org, chris@...kel.net,
rmk@....linux.org.uk, tony.luck@...el.com
Subject: Re: [RFC 01/22] Generic show_mem() implementation
On Sat, Apr 05, 2008 at 10:04:03AM +0100, Ralf Baechle wrote:
> On Sat, Apr 05, 2008 at 09:51:08AM +0200, Heiko Carstens wrote:
>
> > But you can solve this problem with no ifdefs and config options at all,
> > since you may as well just use __attribute__((weak)) for the generic
> > implementation.
>
> Which may result in the version of the function getting linked in but
> staying unreferenced.
Oh, I assumed ld would support -dead_strip in the meantime to get rid of
unreferenced functions. Looks like it still doesn't.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists