diff options
author | 2015-07-21 13:23:30 +0100 | |
---|---|---|
committer | 2015-07-27 11:08:41 +0100 | |
commit | 91a5cefa2f98bdd3404c2fba57048c4fa225cc37 (patch) | |
tree | 269b9169b6427df0eca8f3883aa426a9dd98e6fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: kernel: Add min_field_value and use '>=' for feature detection (diff) | |
download | linux-dev-91a5cefa2f98bdd3404c2fba57048c4fa225cc37.tar.xz linux-dev-91a5cefa2f98bdd3404c2fba57048c4fa225cc37.zip |
arm64: kernel: Add optional CONFIG_ parameter to ALTERNATIVE()
Some uses of ALTERNATIVE() may depend on a feature that is disabled at
compile time by a Kconfig option. In this case the unused alternative
instructions waste space, and if the original instruction is a nop, it
wastes time and space.
This patch adds an optional 'config' option to ALTERNATIVE() and
alternative_insn that allows the compiler to remove both the original
and alternative instructions if the config option is not defined.
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions