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)
commit1d09094aa6205545cf895bc6965664a5f16af99a
treee98d2989f750d84487f738473a1381c10ab789cc
parentd3418f3839b667842eba8688ca8ebe84eca158db
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