Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264328AbTFIOGJ (ORCPT ); Mon, 9 Jun 2003 10:06:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264334AbTFIOGJ (ORCPT ); Mon, 9 Jun 2003 10:06:09 -0400 Received: from carisma.slowglass.com ([195.224.96.167]:16395 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S264328AbTFIOGH (ORCPT ); Mon, 9 Jun 2003 10:06:07 -0400 Date: Mon, 9 Jun 2003 15:19:45 +0100 From: Christoph Hellwig To: Jaroslav Kysela Cc: LKML , ALSA development , "kbuild-devel@lists.sourceforge.net" Subject: Re: 2.5 kbuild: use of '-z muldefs' for LD? Message-ID: <20030609151945.A10352@infradead.org> Mail-Followup-To: Christoph Hellwig , Jaroslav Kysela , LKML , ALSA development , "kbuild-devel@lists.sourceforge.net" References: <20030609130438.A6417@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from perex@suse.cz on Mon, Jun 09, 2003 at 04:01:41PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 679 Lines: 18 On Mon, Jun 09, 2003 at 04:01:41PM +0200, Jaroslav Kysela wrote: > But this solution will create a new kernel module. The shared code is > really small and having small codes in separated modules is waste of > memory in my eyes. Well, if you want separate copies of it you have to make sure the symbols won't clash, e.g. calling all functions in it MYPREFIX_foo and then do #define MYPREFIX KBUILD_MODNAME or something like that - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/