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

Will Deacon will at kernel.org
Tue Nov 3 09:26:03 EST 2020


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.

Cheers,

Will

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



More information about the linux-arm-kernel mailing list