projects
/
firefly-linux-kernel-4.4.55.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
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
include
/
asm
/
jump_label.h
diff --git
a/arch/arm/include/asm/jump_label.h
b/arch/arm/include/asm/jump_label.h
index bfc198c759130109d44b73b4506ea853d01fba28..863c892b4aaa7403c3bde97b7de3b2cd9a75519c 100644
(file)
--- a/
arch/arm/include/asm/jump_label.h
+++ b/
arch/arm/include/asm/jump_label.h
@@
-16,7
+16,7
@@
static __always_inline bool arch_static_branch(struct static_key *key)
{
- asm
goto("1:\n\t"
+ asm
_volatile_
goto("1:\n\t"
JUMP_LABEL_NOP "\n\t"
".pushsection __jump_table, \"aw\"\n\t"
".word 1b, %l[l_yes], %c0\n\t"