diff options
Diffstat (limited to 'arch/blackfin/include/asm/bitops.h')
-rw-r--r-- | arch/blackfin/include/asm/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index 605ba8e9b2e4..d5872cd967ab 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h | |||
@@ -119,7 +119,7 @@ static inline unsigned int hweight32(unsigned int w) | |||
119 | { | 119 | { |
120 | unsigned int res; | 120 | unsigned int res; |
121 | 121 | ||
122 | __asm__ ("%0.l = ONES %0;" | 122 | __asm__ ("%0.l = ONES %1;" |
123 | "%0 = %0.l (Z);" | 123 | "%0 = %0.l (Z);" |
124 | : "=d" (res) : "d" (w)); | 124 | : "=d" (res) : "d" (w)); |
125 | return res; | 125 | return res; |