diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-09-13 01:19:26 +0300 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2019-09-15 21:14:15 +0300 |
commit | 40576e5e63ea5eeab814de7af83ad09dd64134ee (patch) | |
tree | b5e487aa34bc1bbc60cfdbb26e32814dbb77a1b7 /arch/arm/boot/dts/exynos5420.dtsi | |
parent | eb111869301e15b737315a46c913ae82bd19eb9d (diff) | |
download | linux-40576e5e63ea5eeab814de7af83ad09dd64134ee.tar.xz |
x86: alternative.h: use asm_inline for all alternative variants
Most, if not all, uses of the alternative* family just provide one or
two instructions in .text, but the string literal can be quite large,
causing gcc to overestimate the size of the generated code. That in
turn affects its decisions about inlining of the function containing
the alternative() asm statement.
New enough versions of gcc allow one to overrule the estimated size by
using "asm inline" instead of just "asm". So replace asm by the helper
asm_inline, which for older gccs just expands to asm.
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420.dtsi')
0 files changed, 0 insertions, 0 deletions