Re: [PATCH] Export handle_mm_fault to modules.

From: Stelian Pop
Date: Sat Aug 06 2005 - 16:08:51 EST


Le vendredi 05 aoÃt 2005 Ã 16:43 -0700, Linus Torvalds a Ãcrit :
>
> On Fri, 5 Aug 2005, Olof Johansson wrote:
> >
> > On Fri, Aug 05, 2005 at 04:02:13PM -0700, Linus Torvalds wrote:
> >
> > > The only thing that has ever exported it afaik is
> > >
> > > arch/ppc/kernel/ppc_ksyms.c:EXPORT_SYMBOL(handle_mm_fault); /* For MOL */
> > >
> > > and that looks pretty suspicious too (what is MOL, and regardless,
> > > shouldn't it be an EXPORT_SYMBOL_GPL?).
> >
> > Mac-on-Linux, see http://www.maconlinux.org/. Run MacOS in a virtualized
> > machine under Linux (or the other way around). It's GPL.
>
> Ok. Then I suspect the right patch is this one. Stelian, can you verify?

I confirm, it works perfectly.

Stelian.

>
> Linus
> ---
> diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c
> --- a/arch/ppc/kernel/ppc_ksyms.c
> +++ b/arch/ppc/kernel/ppc_ksyms.c
> @@ -324,7 +324,7 @@ EXPORT_SYMBOL(__res);
>
> EXPORT_SYMBOL(next_mmu_context);
> EXPORT_SYMBOL(set_context);
> -EXPORT_SYMBOL(handle_mm_fault); /* For MOL */
> +EXPORT_SYMBOL_GPL(__handle_mm_fault); /* For MOL */
> EXPORT_SYMBOL(disarm_decr);
> #ifdef CONFIG_PPC_STD_MMU
> extern long mol_trampoline;
>
--
Stelian Pop <stelian@xxxxxxxxxx>

-
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/