Re: Remove init_mm export as planned for 2.6.26

From: Andrew Morton
Date: Mon Jul 14 2008 - 00:36:03 EST


On Sun, 13 Jul 2008 22:37:09 -0400 Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> On Fri, Jul 11, 2008 at 07:30:46PM -0700, Andrew Morton wrote:
> > > -EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
> > >
> > > /*
> > > * Initial thread structure.
> > >
> >
> > grep -r init_mm include/asm-sparc64
> >
> > This patch used to break stuff. I'm not aware that anything was done
> > to prevent this.
>
> Dave's patch only unexprts it on x86, which per defintion can't break
> sparc64 which is known to need this export.

What, you want beauty _and_ reading comprehension?

> It would be nice if someone
> could do a little audit which architectures require it in addition to
> sparc64 and remove it fromm all others.

Yup. afaik sparc64 is the only one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/