[2/5] powerpc/lib: Fix feature fixup test of external branch
Michael Ellerman
patch-notifications at ellerman.id.au
Wed May 16 23:38:45 AEST 2018
On Mon, 2018-04-16 at 14:39:02 UTC, Michael Ellerman wrote:
> 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 at ellerman.id.au>
Patches 2-5 applied to powerpc next.
https://git.kernel.org/powerpc/c/32810d91325ec76b8ef4df463f8a0e
cheers
More information about the Linuxppc-dev
mailing list