This uses the new ASM_INPUT_RM macro to avoid the bad code generation
issue that clang has with more generic asm inputs.
This ends up avoiding generating code like this:
 	mov    %r10,(%rsp)
 	tzcnt  (%rsp),%rcx
which now becomes just
 	tzcnt  %r10,%rcx
and in the process ends up also removing a few unnecessary stack frames
when the only use was that pointless "asm uses memory location off stack".
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
 {
        asm("rep; bsf %1,%0"
                : "=r" (word)
-               : "rm" (word));
+               : ASM_INPUT_RM (word));
        return word;
 }
 
 
        asm("bsr %1,%0"
            : "=r" (word)
-           : "rm" (word));
+           : ASM_INPUT_RM (word));
        return word;
 }
 
         */
        asm("bsfl %1,%0"
            : "=r" (r)
-           : "rm" (x), "0" (-1));
+           : ASM_INPUT_RM (x), "0" (-1));
 #elif defined(CONFIG_X86_CMOV)
        asm("bsfl %1,%0\n\t"
            "cmovzl %2,%0"
         */
        asm("bsrl %1,%0"
            : "=r" (r)
-           : "rm" (x), "0" (-1));
+           : ASM_INPUT_RM (x), "0" (-1));
 #elif defined(CONFIG_X86_CMOV)
        asm("bsrl %1,%0\n\t"
            "cmovzl %2,%0"
         */
        asm("bsrq %1,%q0"
            : "+r" (bitpos)
-           : "rm" (x));
+           : ASM_INPUT_RM (x));
        return bitpos + 1;
 }
 #else