FROMLIST: BACKPORT: [PATCH 3/6] arm64: Refactor vDSO init/setup
authorKevin Brodsky <kevin.brodsky@arm.com>
Tue, 10 May 2016 12:51:54 +0000 (13:51 +0100)
committerBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 17:09:30 +0000 (18:09 +0100)
commit62a2f00d140b300a2608fe7322f087c4268c45ec
tree2ccb5d6e1cfb7f438fccf998103b3d453ae687bb
parentb6cb31e0a068b77218ed393eca4ce67655f23cfe
FROMLIST: BACKPORT: [PATCH 3/6] arm64: Refactor vDSO init/setup

(cherry pick from url https://patchwork.kernel.org/patch/10060439/)

Move the logic for setting up mappings and pages for the vDSO into
static functions. This makes the vDSO setup code more consistent with
the compat side and will allow to reuse it for the future compat vDSO.

Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Dave Martin <Dave.Martin@arm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Bug: 63737556
Bug: 20045882
Change-Id: I13e84479591091669190360f2a7f4d04462e6344
arch/arm64/kernel/vdso.c