Commit f5a651f1 authored by Nagarathnam Muthusamy's avatar Nagarathnam Muthusamy Committed by David S. Miller

Adding the type of exported symbols

Missing symbol type for few functions prevents genksyms from generating
symbol versions for those functions. This patch fixes them.
Signed-off-by: default avatarNagarathnam Muthusamy <nagarathnam.muthusamy@oracle.com>
Reviewed-by: default avatarBabu Moger <babu.moger@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d16c0649
...@@ -38,6 +38,7 @@ csum_partial_fix_alignment: ...@@ -38,6 +38,7 @@ csum_partial_fix_alignment:
.align 32 .align 32
.globl csum_partial .globl csum_partial
.type csum_partial,#function
EXPORT_SYMBOL(csum_partial) EXPORT_SYMBOL(csum_partial)
csum_partial: /* %o0=buff, %o1=len, %o2=sum */ csum_partial: /* %o0=buff, %o1=len, %o2=sum */
prefetch [%o0 + 0x000], #n_reads prefetch [%o0 + 0x000], #n_reads
......
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
add %o5, %o4, %o4 add %o5, %o4, %o4
.globl FUNC_NAME .globl FUNC_NAME
.type FUNC_NAME,#function
EXPORT_SYMBOL(FUNC_NAME) EXPORT_SYMBOL(FUNC_NAME)
FUNC_NAME: /* %o0=src, %o1=dst, %o2=len, %o3=sum */ FUNC_NAME: /* %o0=src, %o1=dst, %o2=len, %o3=sum */
LOAD(prefetch, %o0 + 0x000, #n_reads) LOAD(prefetch, %o0 + 0x000, #n_reads)
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
.text .text
.align 32 .align 32
.globl __memscan_zero, __memscan_generic .globl __memscan_zero, __memscan_generic
.type __memscan_zero,#function
.type __memscan_generic,#function
.globl memscan .globl memscan
EXPORT_SYMBOL(__memscan_zero) EXPORT_SYMBOL(__memscan_zero)
EXPORT_SYMBOL(__memscan_generic) EXPORT_SYMBOL(__memscan_generic)
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
__bzero_begin: __bzero_begin:
.globl __bzero .globl __bzero
.type __bzero,#function
.globl memset .globl memset
EXPORT_SYMBOL(__bzero) EXPORT_SYMBOL(__bzero)
EXPORT_SYMBOL(memset) EXPORT_SYMBOL(memset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment