kernel-fxtec-pro1x/arch
Marc Zyngier 7616fc8bcd arm64: alternative: Allow immediate branch as alternative instruction
Since all branches are PC-relative on AArch64, these instructions
cannot be used as an alternative with the simplistic approach
we currently have (the immediate has been computed from
the .altinstr_replacement section, and end-up being completely off
if the target is outside of the replacement sequence).

This patch handles the branch instructions in a different way,
using the insn framework to recompute the immediate, and generate
the right displacement in the above case.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2015-06-05 10:38:53 +01:00
..
alpha
arc ARC: inline cache flush toggle helpers 2015-05-11 11:21:41 +05:30
arm of/fdt: split off FDT self reservation from memreserve processing 2015-06-02 16:31:25 +01:00
arm64 arm64: alternative: Allow immediate branch as alternative instruction 2015-06-05 10:38:53 +01:00
avr32
blackfin
c6x
cris
frv
hexagon
ia64 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-04-26 17:22:07 -07:00
m32r m32r: make flush_cpumask non-volatile. 2015-05-09 11:09:29 -07:00
m68k
metag
microblaze
mips MIPS: tlb-r4k: Fix PG_ELPA comment 2015-05-15 22:02:50 +02:00
mn10300
nios2
openrisc
parisc parisc,metag: Fix crashes due to stack randomization on stack-grows-upwards architectures 2015-05-12 22:03:44 +02:00
powerpc of/fdt: split off FDT self reservation from memreserve processing 2015-06-02 16:31:25 +01:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2015-04-28 09:58:46 -07:00
score
sh
sparc
tile tile: properly use node_isset() on a nodemask_t 2015-04-28 10:36:45 -04:00
um
unicore32
x86 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-05-15 13:01:31 -07:00
xtensa
.gitignore
Kconfig