X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=arch%2Friscv%2Finclude%2Fasm%2Fcpufeature.h;h=3478054461510ea79abd70aa81c8d817b64ad32c;hb=c150b809f7de2afdd3fb5a9adff2a9a68d7331ce;hp=46061f5e976439d0e9c9c5a223fedde10d5a6958;hpb=a9ad73295cc1e3af0253eee7d08943b2419444c4;p=sfrench%2Fcifs-2.6.git diff --git a/arch/riscv/include/asm/cpufeature.h b/arch/riscv/include/asm/cpufeature.h index 46061f5e9764..347805446151 100644 --- a/arch/riscv/include/asm/cpufeature.h +++ b/arch/riscv/include/asm/cpufeature.h @@ -89,7 +89,7 @@ riscv_has_extension_likely(const unsigned long ext) "ext must be < RISCV_ISA_EXT_MAX"); if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE)) { - asm_volatile_goto( + asm goto( ALTERNATIVE("j %l[l_no]", "nop", 0, %[ext], 1) : : [ext] "i" (ext) @@ -112,7 +112,7 @@ riscv_has_extension_unlikely(const unsigned long ext) "ext must be < RISCV_ISA_EXT_MAX"); if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE)) { - asm_volatile_goto( + asm goto( ALTERNATIVE("nop", "j %l[l_yes]", 0, %[ext], 1) : : [ext] "i" (ext)