2007-10-29 12:50:47

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] m68knommu: remove duplicate exports

One EXPORT_SYMBOL should be enough for everyone.

Signed-off-by: Adrian Bunk <[email protected]>

---

arch/m68knommu/kernel/m68k_ksyms.c | 11 -----------
1 file changed, 11 deletions(-)

db7c0d48feac0857d0bc2e79147b63d5f9675077
diff --git a/arch/m68knommu/kernel/m68k_ksyms.c b/arch/m68knommu/kernel/m68k_ksyms.c
index f795062..53fad14 100644
--- a/arch/m68knommu/kernel/m68k_ksyms.c
+++ b/arch/m68knommu/kernel/m68k_ksyms.c
@@ -24,14 +24,6 @@ extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
EXPORT_SYMBOL(__ioremap);
EXPORT_SYMBOL(iounmap);
EXPORT_SYMBOL(dump_fpu);
-EXPORT_SYMBOL(strnlen);
-EXPORT_SYMBOL(strrchr);
-EXPORT_SYMBOL(strstr);
-EXPORT_SYMBOL(strchr);
-EXPORT_SYMBOL(strcat);
-EXPORT_SYMBOL(strlen);
-EXPORT_SYMBOL(strcmp);
-EXPORT_SYMBOL(strncmp);

EXPORT_SYMBOL(ip_fast_csum);

@@ -46,9 +38,6 @@ EXPORT_SYMBOL(csum_partial_copy_nocheck);
it's OK to leave it out of version control. */
EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(memset);
-EXPORT_SYMBOL(memcmp);
-EXPORT_SYMBOL(memscan);
-EXPORT_SYMBOL(memmove);

EXPORT_SYMBOL(__down_failed);
EXPORT_SYMBOL(__down_failed_interruptible);


2007-10-29 13:08:32

by Greg Ungerer

[permalink] [raw]
Subject: Re: [2.6 patch] m68knommu: remove duplicate exports

Adrian Bunk wrote:
> One EXPORT_SYMBOL should be enough for everyone.
>
> Signed-off-by: Adrian Bunk <[email protected]>

Acked-by: Greg Ungerer <[email protected]>


> ---
>
> arch/m68knommu/kernel/m68k_ksyms.c | 11 -----------
> 1 file changed, 11 deletions(-)
>
> db7c0d48feac0857d0bc2e79147b63d5f9675077
> diff --git a/arch/m68knommu/kernel/m68k_ksyms.c b/arch/m68knommu/kernel/m68k_ksyms.c
> index f795062..53fad14 100644
> --- a/arch/m68knommu/kernel/m68k_ksyms.c
> +++ b/arch/m68knommu/kernel/m68k_ksyms.c
> @@ -24,14 +24,6 @@ extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
> EXPORT_SYMBOL(__ioremap);
> EXPORT_SYMBOL(iounmap);
> EXPORT_SYMBOL(dump_fpu);
> -EXPORT_SYMBOL(strnlen);
> -EXPORT_SYMBOL(strrchr);
> -EXPORT_SYMBOL(strstr);
> -EXPORT_SYMBOL(strchr);
> -EXPORT_SYMBOL(strcat);
> -EXPORT_SYMBOL(strlen);
> -EXPORT_SYMBOL(strcmp);
> -EXPORT_SYMBOL(strncmp);
>
> EXPORT_SYMBOL(ip_fast_csum);
>
> @@ -46,9 +38,6 @@ EXPORT_SYMBOL(csum_partial_copy_nocheck);
> it's OK to leave it out of version control. */
> EXPORT_SYMBOL(memcpy);
> EXPORT_SYMBOL(memset);
> -EXPORT_SYMBOL(memcmp);
> -EXPORT_SYMBOL(memscan);
> -EXPORT_SYMBOL(memmove);
>
> EXPORT_SYMBOL(__down_failed);
> EXPORT_SYMBOL(__down_failed_interruptible);
>
>


--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [email protected]
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com