diff options
Diffstat (limited to 'arch/blackfin/kernel/bfin_ksyms.c')
-rw-r--r-- | arch/blackfin/kernel/bfin_ksyms.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/bfin_ksyms.c b/arch/blackfin/kernel/bfin_ksyms.c index ed8392c117ea..2c264b51566a 100644 --- a/arch/blackfin/kernel/bfin_ksyms.c +++ b/arch/blackfin/kernel/bfin_ksyms.c | |||
@@ -33,6 +33,18 @@ EXPORT_SYMBOL(memmove); | |||
33 | EXPORT_SYMBOL(memchr); | 33 | EXPORT_SYMBOL(memchr); |
34 | 34 | ||
35 | /* | 35 | /* |
36 | * Because string functions are both inline and exported functions and | ||
37 | * folder arch/blackfin/lib is configured as a library path in Makefile, | ||
38 | * symbols exported in folder lib is not linked into built-in.o but | ||
39 | * inlined only. In order to export string symbols to kernel module | ||
40 | * properly, they should be exported here. | ||
41 | */ | ||
42 | EXPORT_SYMBOL(strcpy); | ||
43 | EXPORT_SYMBOL(strncpy); | ||
44 | EXPORT_SYMBOL(strcmp); | ||
45 | EXPORT_SYMBOL(strncmp); | ||
46 | |||
47 | /* | ||
36 | * libgcc functions - functions that are used internally by the | 48 | * libgcc functions - functions that are used internally by the |
37 | * compiler... (prototypes are not correct though, but that | 49 | * compiler... (prototypes are not correct though, but that |
38 | * doesn't really matter since they're not versioned). | 50 | * doesn't really matter since they're not versioned). |