Skip to content

Commit f5a651f

Browse files
Nagarathnam Muthusamydavem330
authored andcommitted
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: Nagarathnam Muthusamy <[email protected]> Reviewed-by: Babu Moger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d16c064 commit f5a651f

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

arch/sparc/lib/checksum_64.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ csum_partial_fix_alignment:
3838

3939
.align 32
4040
.globl csum_partial
41+
.type csum_partial,#function
4142
EXPORT_SYMBOL(csum_partial)
4243
csum_partial: /* %o0=buff, %o1=len, %o2=sum */
4344
prefetch [%o0 + 0x000], #n_reads

arch/sparc/lib/csum_copy.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
add %o5, %o4, %o4
6666

6767
.globl FUNC_NAME
68+
.type FUNC_NAME,#function
6869
EXPORT_SYMBOL(FUNC_NAME)
6970
FUNC_NAME: /* %o0=src, %o1=dst, %o2=len, %o3=sum */
7071
LOAD(prefetch, %o0 + 0x000, #n_reads)

arch/sparc/lib/memscan_64.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
.text
1515
.align 32
1616
.globl __memscan_zero, __memscan_generic
17+
.type __memscan_zero,#function
18+
.type __memscan_generic,#function
1719
.globl memscan
1820
EXPORT_SYMBOL(__memscan_zero)
1921
EXPORT_SYMBOL(__memscan_generic)

arch/sparc/lib/memset.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
__bzero_begin:
6464

6565
.globl __bzero
66+
.type __bzero,#function
6667
.globl memset
6768
EXPORT_SYMBOL(__bzero)
6869
EXPORT_SYMBOL(memset)

0 commit comments

Comments
 (0)