summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/feature-fixups.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-04-17 00:39:02 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-11 23:29:02 +1000
commit32810d91325ec76b8ef4df463f8a0e9baf353322 (patch)
treee147b9b7e9da4f45fcef9a7d54034c3de2da0508 /arch/powerpc/lib/feature-fixups.c
parent53da14d0833a663cb98ef111ed91c575f2da9236 (diff)
downloadlinux-32810d91325ec76b8ef4df463f8a0e9baf353322.tar.bz2
powerpc/lib: Fix feature fixup test of external branch
The expected case for this test was wrong, the source of the alternate code sequence is: FTR_SECTION_ELSE 2: or 2,2,2 PPC_LCMPI r3,1 beq 3f blt 2b b 3f b 1b ALT_FTR_SECTION_END(0, 1) 3: or 1,1,1 or 2,2,2 4: or 3,3,3 So when it's patched the '3' label should still be on the 'or 1,1,1', and the 4 label is irrelevant and can be removed. Fixes: 362e7701fd18 ("powerpc: Add self-tests of the feature fixup code") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/feature-fixups.c')
0 files changed, 0 insertions, 0 deletions