]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: update stale PAGE_OFFSET comment
authorMark Rutland <mark.rutland@arm.com>
Wed, 1 Jun 2016 11:07:17 +0000 (12:07 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Jun 2016 09:16:21 +0000 (10:16 +0100)
commita88b933166446bc35c4bab51624b8a2999512135
treef2a4eed18a2580deb7ace94a91e3808b65d5380d
parent9ffebaca7c4f8d88a3a3ba8feeea812d1725c63b
arm64: update stale PAGE_OFFSET comment

Commit 729e7fa61ca988a6 ("arm64: introduce KIMAGE_VADDR as the virtual
base of the kernel region") logically split KIMAGE_VADDR from
PAGE_OFFSET, and since commit 6c976f4a5153a6f2 ("arm64: move kernel
image to base of vmalloc area") the two have been distinct values.

Unfortunately, neither commit updated the comment above these
definitions, which now erroneously states that PAGE_OFFSET is the start
of the kernel image rather than the start of the linear mapping.

This patch fixes said comment, and introduces an explanation of
KIMAGE_VADDR.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/memory.h