|
@@ -28,7 +28,7 @@
|
|
|
|
|
|
static __always_inline bool arch_static_branch(struct static_key *key, bool branch)
|
|
|
{
|
|
|
- asm goto("1: nop\n\t"
|
|
|
+ asm_volatile_goto("1: nop\n\t"
|
|
|
".pushsection __jump_table, \"aw\"\n\t"
|
|
|
".align 3\n\t"
|
|
|
".quad 1b, %l[l_yes], %c0\n\t"
|
|
@@ -42,7 +42,7 @@ l_yes:
|
|
|
|
|
|
static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch)
|
|
|
{
|
|
|
- asm goto("1: b %l[l_yes]\n\t"
|
|
|
+ asm_volatile_goto("1: b %l[l_yes]\n\t"
|
|
|
".pushsection __jump_table, \"aw\"\n\t"
|
|
|
".align 3\n\t"
|
|
|
".quad 1b, %l[l_yes], %c0\n\t"
|