Merge tag 'riscv-for-linus-6.9-mw2' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / riscv / include / asm / bitops.h
index c4c2173dfe996aeabba1375c8c0f8bec069ec537..880606b0469a83bc97d864da9235ce29b5807970 100644 (file)
@@ -47,7 +47,7 @@
 
 static __always_inline unsigned long variable__ffs(unsigned long word)
 {
-       asm_volatile_goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
+       asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
                                      RISCV_ISA_EXT_ZBB, 1)
                          : : : : legacy);
 
@@ -76,7 +76,7 @@ legacy:
 
 static __always_inline unsigned long variable__fls(unsigned long word)
 {
-       asm_volatile_goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
+       asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
                                      RISCV_ISA_EXT_ZBB, 1)
                          : : : : legacy);
 
@@ -105,7 +105,7 @@ legacy:
 
 static __always_inline int variable_ffs(int x)
 {
-       asm_volatile_goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
+       asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
                                      RISCV_ISA_EXT_ZBB, 1)
                          : : : : legacy);
 
@@ -137,7 +137,7 @@ legacy:
 
 static __always_inline int variable_fls(unsigned int x)
 {
-       asm_volatile_goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
+       asm goto(ALTERNATIVE("j %l[legacy]", "nop", 0,
                                      RISCV_ISA_EXT_ZBB, 1)
                          : : : : legacy);