diff options
| author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-13 11:35:15 +0000 |
|---|---|---|
| committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-17 19:35:22 +0000 |
| commit | e9062481824384f00299971f923fecf6b3668001 (patch) | |
| tree | 9eb1a903130c504a325c754051c6be9c27c8088c /tools/perf/scripts/python | |
| parent | ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch (diff) | |
| download | linux-e9062481824384f00299971f923fecf6b3668001.tar.gz linux-e9062481824384f00299971f923fecf6b3668001.zip | |
ARM: net: bpf: avoid 'bx' instruction on non-Thumb capable CPUs
Avoid the 'bx' instruction on CPUs that have no support for Thumb and
thus do not implement this instruction by moving the generation of this
opcode to a separate function that selects between:
bx reg
and
mov pc, reg
according to the capabilities of the CPU.
Fixes: 39c13c204bb1 ("arm: eBPF JIT compiler")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
