]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: head.S: fix up stale comments
authorMark Rutland <mark.rutland@arm.com>
Mon, 9 Jan 2017 14:31:55 +0000 (14:31 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 10 Jan 2017 12:36:22 +0000 (12:36 +0000)
commit510224c2b10aba2149c0d24595be98f2254c641a
treee87dd2da5eb2953212921a985f004fc184abf790
parent117f5727ae058de03e2407f5fe566e715d143596
arm64: head.S: fix up stale comments

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@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S