From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262162AbVHEXnf (ORCPT ); Fri, 5 Aug 2005 19:43:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262091AbVHEXnd (ORCPT ); Fri, 5 Aug 2005 19:43:33 -0400 Received: from smtp.osdl.org ([65.172.181.4]:55210 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262162AbVHEXnT (ORCPT ); Fri, 5 Aug 2005 19:43:19 -0400 Date: Fri, 5 Aug 2005 16:43:13 -0700 (PDT) From: Linus Torvalds To: Olof Johansson cc: Stelian Pop , Linux Kernel Mailing List Subject: Re: [PATCH] Export handle_mm_fault to modules. In-Reply-To: <20050805232530.GA8791@austin.ibm.com> Message-ID: References: <1123278912.8224.2.camel@localhost.localdomain> <20050805232530.GA8791@austin.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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? 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;