[PATCHv3 08/17] arm64: uaccess: move uao_* alternatives to asm-uaccess.h

Mark Rutland mark.rutland at arm.com
Tue Nov 3 09:41:31 EST 2020


On Tue, Nov 03, 2020 at 02:26:03PM +0000, Will Deacon wrote:
> On Mon, Oct 26, 2020 at 01:31:47PM +0000, Mark Rutland wrote:
> > The uao_* alternative asm macros are only used by the uaccess assembly
> > routines in arch/arm64/lib/, where they are included indirectly via
> > asm-uaccess.h. Since they're specific to the uaccess assembly (and will
> > lose the alternatives in subsequent patches), let's move them into
> > asm-uaccess.h.
> > 
> > There should be no functional change as a result of this patch.
> > 
> > Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> > Cc: Catalin Marinas <catalin.marinas at arm.com>
> > Cc: Christoph Hellwig <hch at lst.de>
> > Cc: James Morse <james.morse at arm.com>
> > Cc: Will Deacon <will at kernel.org>
> > ---
> >  arch/arm64/include/asm/alternative.h | 59 ------------------------------------
> >  arch/arm64/include/asm/asm-uaccess.h | 59 ++++++++++++++++++++++++++++++++++++
> >  2 files changed, 59 insertions(+), 59 deletions(-)
> 
> As discussed over at [1], I have applied this single patch as part of my LTO
> series, which will appear on for-next/lto at -rc3.

> [1] https://lore.kernel.org/r/20201103124018.GA40454@C02TD0UTHF1T.local

Thanks!

I'll keep a copy in this series (with the same fixup) to avoid a
dependency when merging.

I'll post a v4 with that later this week.

Mark.



More information about the linux-arm-kernel mailing list