Adding the type of exported symbols
authorNagarathnam Muthusamy <nagarathnam.muthusamy@oracle.com>
Mon, 19 Jun 2017 17:08:50 +0000 (13:08 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jun 2017 18:13:06 +0000 (11:13 -0700)
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>
arch/sparc/lib/checksum_64.S
arch/sparc/lib/csum_copy.S
arch/sparc/lib/memscan_64.S
arch/sparc/lib/memset.S

index f6732174fe6bdcceeb4228e64a92e2357cd81e00..6cfa521f444d1138b7bb2067e2e65dd4dd9d37f5 100644 (file)
@@ -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
index 0ecbafc30fd00e21cd7bd453d5e09d99349b8a82..b1051e77c49acd06074689249d7058c5205151c1 100644 (file)
@@ -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)
index daa96f4b03e6007fbc415a70514f3f56be8a4ef1..5efee1f4be366f3b9f24c6b434523653664ae26f 100644 (file)
@@ -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)
index bb539b42b088ace45ecf2d1419ee808986f12d72..e23338dbfc43ac1a3b8ed7de2b99697774ccc3de 100644 (file)
@@ -63,6 +63,7 @@
 __bzero_begin:
 
        .globl  __bzero
+       .type   __bzero,#function
        .globl  memset
        EXPORT_SYMBOL(__bzero)
        EXPORT_SYMBOL(memset)