Skip to content

Commit

Permalink
Adding the type of exported symbols
Browse files Browse the repository at this point in the history
Missing symbol type for few functions prevents genksyms from generating
symbol versions for those functions. This patch fixes them.

Signed-off-by: Nagarathnam Muthusamy <nagarathnam.muthusamy@oracle.com>
Reviewed-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Nagarathnam Muthusamy authored and David S. Miller committed Jun 19, 2017
1 parent d16c064 commit f5a651f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/sparc/lib/checksum_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ csum_partial_fix_alignment:

.align 32
.globl csum_partial
.type csum_partial,#function
EXPORT_SYMBOL(csum_partial)
csum_partial: /* %o0=buff, %o1=len, %o2=sum */
prefetch [%o0 + 0x000], #n_reads
Expand Down
1 change: 1 addition & 0 deletions arch/sparc/lib/csum_copy.S
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
add %o5, %o4, %o4

.globl FUNC_NAME
.type FUNC_NAME,#function
EXPORT_SYMBOL(FUNC_NAME)
FUNC_NAME: /* %o0=src, %o1=dst, %o2=len, %o3=sum */
LOAD(prefetch, %o0 + 0x000, #n_reads)
Expand Down
2 changes: 2 additions & 0 deletions arch/sparc/lib/memscan_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
.text
.align 32
.globl __memscan_zero, __memscan_generic
.type __memscan_zero,#function
.type __memscan_generic,#function
.globl memscan
EXPORT_SYMBOL(__memscan_zero)
EXPORT_SYMBOL(__memscan_generic)
Expand Down
1 change: 1 addition & 0 deletions arch/sparc/lib/memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
__bzero_begin:

.globl __bzero
.type __bzero,#function
.globl memset
EXPORT_SYMBOL(__bzero)
EXPORT_SYMBOL(memset)
Expand Down

0 comments on commit f5a651f

Please sign in to comment.