x86: Prepare asm files for straight-line-speculation
[linux-2.6-block.git] / arch / x86 / lib / hweight.S
index dbf8cc97b7f535189cc27c15dc7dae18d47b2224..12c16c6aa44a3fbf9abdc971af57e881bc9397af 100644 (file)
@@ -32,7 +32,7 @@ SYM_FUNC_START(__sw_hweight32)
        imull $0x01010101, %eax, %eax           # w_tmp *= 0x01010101
        shrl $24, %eax                          # w = w_tmp >> 24
        __ASM_SIZE(pop,) %__ASM_REG(dx)
-       ret
+       RET
 SYM_FUNC_END(__sw_hweight32)
 EXPORT_SYMBOL(__sw_hweight32)
 
@@ -65,7 +65,7 @@ SYM_FUNC_START(__sw_hweight64)
 
        popq    %rdx
        popq    %rdi
-       ret
+       RET
 #else /* CONFIG_X86_32 */
        /* We're getting an u64 arg in (%eax,%edx): unsigned long hweight64(__u64 w) */
        pushl   %ecx
@@ -77,7 +77,7 @@ SYM_FUNC_START(__sw_hweight64)
        addl    %ecx, %eax                      # result
 
        popl    %ecx
-       ret
+       RET
 #endif
 SYM_FUNC_END(__sw_hweight64)
 EXPORT_SYMBOL(__sw_hweight64)