Re: [RFC v5 56/57] arm64: entry: Avoid empty alternatives entries

From: Will Deacon
Date: Tue Jan 21 2020 - 05:30:57 EST


On Thu, Jan 09, 2020 at 04:51:46PM +0000, Mark Rutland wrote:
> On Thu, Jan 09, 2020 at 04:02:59PM +0000, Julien Thierry wrote:
> > kernel_ventry will create alternative entries to potentially replace
> > 0 instructions with 0 instructions for EL1 vectors. While this does not
> > cause an issue, it pointlessly takes up some bytes in the alternatives
> > section.
> >
> > Do not generate such entries.
> >
> > Signed-off-by: Julien Thierry <jthierry@xxxxxxxxxx>
>
> This looks like a sensible cleanup on its own. FWIW:
>
> Acked-by: Mark Rutland <mark.rutland@xxxxxxx>

I'll pick this one up, thanks.

Will