aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vdso64
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-01-31 22:27:36 +0100
committerVasily Gorbik <gor@linux.ibm.com>2021-02-09 15:57:05 +0100
commit1ba2d6c0fd4e4ff5cc2372a4a5c41d65cb18f09a (patch)
treec37c432db7521def5184bc7cf4b3beb0213f4eae /arch/s390/kernel/vdso64
parents390/vdso: move data page before code pages (diff)
downloadlinux-dev-1ba2d6c0fd4e4ff5cc2372a4a5c41d65cb18f09a.tar.xz
linux-dev-1ba2d6c0fd4e4ff5cc2372a4a5c41d65cb18f09a.zip
s390/vdso: simplify __arch_get_hw_counter()
Use the passed in vdso_data pointer instead of calculating it again. This is also required as a prerequisite for vdso time namespaces: if a process is part of a time namespace __arch_get_vdso_data() will return a pointer to the time namespace data page instead of the vdso data page, which is not what __arch_get_hw_counter() expects. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso64')
0 files changed, 0 insertions, 0 deletions