]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: vdso: use consistent 'map' nomenclature
authorMark Rutland <mark.rutland@arm.com>
Tue, 28 Apr 2020 16:49:21 +0000 (17:49 +0100)
committerWill Deacon <will@kernel.org>
Wed, 29 Apr 2020 09:52:53 +0000 (10:52 +0100)
commite75585ebb8e4e54c323a57c00b39b53793fa6137
treee98d2989f750d84487f738473a1381c10ab789cc
parent47e2f6f2552bb4f7729a2c9121771f44a6cd61d3
arm64: vdso: use consistent 'map' nomenclature

The current code doesn't use a consistent naming scheme for structures,
enums, or variables, making it harder than necessary to determine the
relationship between these.

Let's make this easier by consistently using 'map' nomenclature for
mappings created in userspace, minimizing redundant comments, and
using designated array initializers to tie indices to their respective
elements.

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: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200428164921.41641-5-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/vdso.c