diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-04-17 00:39:05 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-11 23:29:03 +1000 |
commit | 6158faed7c80256fb6b370781cb3cd6815f4ba69 (patch) | |
tree | 4ac69bbbda49b8975863df88893a370c0a7b8e0c /arch/powerpc/sysdev | |
parent | b58e7987965028c1afbd95cc0b14be0543b937a0 (diff) | |
download | linux-stable-6158faed7c80256fb6b370781cb3cd6815f4ba69.tar.gz linux-stable-6158faed7c80256fb6b370781cb3cd6815f4ba69.tar.bz2 linux-stable-6158faed7c80256fb6b370781cb3cd6815f4ba69.zip |
powerpc/lib: Add alt patching test of branching past the last instruction
Add a test of the relative branch patching logic in the alternate
section feature fixup code. This tests that if we branch past the last
instruction of the alternate section, the branch is not patched.
That's because the assembler will have created a branch that already
points to the first instruction after the patched section, which is
correct and needs no further patching.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions