From: Sam Ravnborg Date: Thu, 08 Jan 2009 21:56:10 +0000 Subject: Re: [PATCH v2 0/5] Eliminate most of sparc_ksyms_*.c Message-Id: <20090108215610.GA9793@uranus.ravnborg.org> List-Id: References: <4965F1C6.1090700@gmail.com> In-Reply-To: <4965F1C6.1090700@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org On Thu, Jan 08, 2009 at 01:33:39PM -0800, David Miller wrote: > From: "Julian Calaby" > Date: Fri, 9 Jan 2009 08:23:41 +1100 > > > My stance on this is: as this functionality that is defined in > > assembler, having nasty C code is acceptable - providing that it's > > documented. (which we could improve somewhat) > > Note, we can probably do this automatically without having > to define a symbol exporting macro for assembler code. > > Just add some annotation to the assembler files, then > some script or similar processes the *.S files looking > for the symbol export annotations and uses that to > generate the ksyms.c file. Arnd Bergman once posted a patchset that allow us to do the export in .S files. Google for "add support for exporting symbols from .S files" Could we resurface this patchset? Arnd? Sam