1 #include <linux/linkage.h>
2 #include <asm/export.h>
7 sethi %hi(__sw_hweight8), %g1
8 jmpl %g1 + %lo(__sw_hweight8), %g0
10 ENDPROC(__arch_hweight8)
11 EXPORT_SYMBOL(__arch_hweight8)
12 .section .popc_3insn_patch, "ax"
19 ENTRY(__arch_hweight16)
20 sethi %hi(__sw_hweight16), %g1
21 jmpl %g1 + %lo(__sw_hweight16), %g0
23 ENDPROC(__arch_hweight16)
24 EXPORT_SYMBOL(__arch_hweight16)
25 .section .popc_3insn_patch, "ax"
26 .word __arch_hweight16
32 ENTRY(__arch_hweight32)
33 sethi %hi(__sw_hweight32), %g1
34 jmpl %g1 + %lo(__sw_hweight32), %g0
36 ENDPROC(__arch_hweight32)
37 EXPORT_SYMBOL(__arch_hweight32)
38 .section .popc_3insn_patch, "ax"
39 .word __arch_hweight32
45 ENTRY(__arch_hweight64)
46 sethi %hi(__sw_hweight16), %g1
47 jmpl %g1 + %lo(__sw_hweight16), %g0
49 ENDPROC(__arch_hweight64)
50 EXPORT_SYMBOL(__arch_hweight64)
51 .section .popc_3insn_patch, "ax"
52 .word __arch_hweight64