diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-03-27 10:32:26 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-13 21:59:28 +0300 |
| commit | 69943af22a32ead53693633ab8c0bb55c7afe08e (patch) | |
| tree | d15b5378728596004fa476a5f9082a2d0665f92d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7b5d60323f904c91ec7d28282196aa8c6406248b (diff) | |
| download | linux-69943af22a32ead53693633ab8c0bb55c7afe08e.tar.xz | |
powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
commit af41d2866f7d75bbb38d487f6ec7770425d70e45 upstream.
Using conditional branches between two files is hasardous,
they may get linked too far from each other.
arch/powerpc/kvm/book3s_64_entry.o:(.text+0x3ec): relocation truncated
to fit: R_PPC64_REL14 (stub) against symbol `system_reset_common'
defined in .text section in arch/powerpc/kernel/head_64.o
Reorganise the code to use non conditional branches.
Fixes: 89d35b239101 ("KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Avoid odd-looking bne ., use named local labels]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/89cf27bf43ee07a0b2879b9e8e2f5cd6386a3645.1648366338.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
