compiler/gcc4: Add quirk for 'asm goto' miscompilation bug
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / sparc / include / asm / jump_label.h
index 5080d16..ec2e2e2 100644 (file)
@@ -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"