projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler/gcc4: Add quirk for 'asm goto' miscompilation bug
[linux-2.6-block.git]
/
arch
/
mips
/
include
/
asm
/
jump_label.h
diff --git
a/arch/mips/include/asm/jump_label.h
b/arch/mips/include/asm/jump_label.h
index 4d6d77ed9b9d679cd955e2fafe2dbc16527db65c..e194f957ca8c42a0af82f0621c425308a25e4d53 100644
(file)
--- a/
arch/mips/include/asm/jump_label.h
+++ b/
arch/mips/include/asm/jump_label.h
@@
-22,7
+22,7
@@
static __always_inline bool arch_static_branch(struct static_key *key)
{
- asm
goto("1:\tnop\n\t"
+ asm
_volatile_
goto("1:\tnop\n\t"
"nop\n\t"
".pushsection __jump_table, \"aw\"\n\t"
WORD_INSN " 1b, %l[l_yes], %0\n\t"