Skip to content

Commit 4883d11

Browse files
committed
Merge tag 'powerpc-4.6-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fix from Michael Ellerman: "Fix bad inline asm constraint in create_zero_mask() from Anton Blanchard" * tag 'powerpc-4.6-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc: Fix bad inline asm constraint in create_zero_mask()
2 parents 659a182 + b4c1121 commit 4883d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/include/asm/word-at-a-time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static inline unsigned long create_zero_mask(unsigned long bits)
8282
"andc %1,%1,%2\n\t"
8383
"popcntd %0,%1"
8484
: "=r" (leading_zero_bits), "=&r" (trailing_zero_bit_mask)
85-
: "r" (bits));
85+
: "b" (bits));
8686

8787
return leading_zero_bits;
8888
}

0 commit comments

Comments
 (0)