summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/jump_label.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/jump_label.h')
-rw-r--r--arch/sparc/include/asm/jump_label.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/jump_label.h b/arch/sparc/include/asm/jump_label.h
index 5080d16a832f..ec2e2e2aba7d 100644
--- a/arch/sparc/include/asm/jump_label.h
+++ b/arch/sparc/include/asm/jump_label.h
@@ -9,7 +9,7 @@
static __always_inline bool arch_static_branch(struct static_key *key)
{
- asm goto("1:\n\t"
+ asm_volatile_goto("1:\n\t"
"nop\n\t"
"nop\n\t"
".pushsection __jump_table, \"aw\"\n\t"