[PATCH] arm64: head.S: fix up stale comments

Will Deacon will.deacon at arm.com
Tue Jan 10 04:37:05 PST 2017


On Mon, Jan 09, 2017 at 02:31:55PM +0000, Mark Rutland wrote:
> In commit 23c8a500c24d02dd ("arm64: kernel: use ordinary return/argument
> register for el2_setup()"), we stopped using w20 as a global stash of
> the boot mode flag, and instead pass this around in w0 as a function
> parameter.
> 
> Unfortunately, we missed a couple of comments, which still refer to the
> old convention of using w20/x20.
> 
> This patch fixes up the comments to describe the code as it currently
> works.
> 
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> ---
>  arch/arm64/kernel/head.S | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied for 4.11 with Ard's ack.

Will



More information about the linux-arm-kernel mailing list