Re: [PATCH 2.6.9-rc1-mm3] [m32r] Change from EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL

From: Russell King
Date: Mon Sep 06 2004 - 08:56:44 EST


On Mon, Sep 06, 2004 at 03:11:06PM +0200, Sam Ravnborg wrote:
> The convention these days is to put the EXPORT right uder the funtion definition
> when appropriate.
>
> So something like:
> int foo(int l)
> {
> ...
> }
> EXPORT_SYMBOL(foo);

Yes.

> No one just took their time to get rid of the rest of the *ksyms files.

There's a good reason why you won't get rid of them - it's called
assembly code. EXPORT_SYMBOL doesn't work from the assembler.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/