From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755088AbYEDXic (ORCPT ); Sun, 4 May 2008 19:38:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752537AbYEDXiZ (ORCPT ); Sun, 4 May 2008 19:38:25 -0400 Received: from ozlabs.org ([203.10.76.45]:42152 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635AbYEDXiY (ORCPT ); Sun, 4 May 2008 19:38:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18462.18666.311902.814778@cargo.ozlabs.ibm.com> Date: Mon, 5 May 2008 09:38:18 +1000 From: Paul Mackerras To: "H. Peter Anvin" Cc: Kumar Gala , sam@ravnborg.org, lkml List , "linuxppc-dev@ozlabs.org list" Subject: Re: How to link a .o with all modules In-Reply-To: <481E4655.7040000@zytor.com> References: <6C8AB345-2DA0-460D-B7C8-262463247DDE@kernel.crashing.org> <481E4655.7040000@zytor.com> X-Mailer: VM 7.19 under Emacs 22.1.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org H. Peter Anvin writes: > Why is having them as an EXPORT_SYMBOL() counterproductive? It sounds > like *exactly* what you need -- and then having the kernel provide the > same code to modules, instead of replication...? It means we would go through a trampoline just to call little things like __ucmpdi2, which seems a bit unnecessary. Paul.