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

Will Deacon
2020-11-03T14:27:15Z

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@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Christoph Hellwig <hch@lst.de>
> Cc: James Morse <james.morse@arm.com>
> Cc: Will Deacon <will@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.

Cheers,

Will

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