mips: Add support for generic vDSO
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Fri, 21 Jun 2019 09:52:46 +0000 (10:52 +0100)
committerPaul Burton <paul.burton@mips.com>
Fri, 26 Jul 2019 04:45:05 +0000 (21:45 -0700)
commit24640f233b466051ad3a5d2786d2951e43026c9d
treeca9acaf821110f4d249dd4a250d7a9b740675261
parentc2aeaaea175652af6610f97a0de6d7cd07311e18
mips: Add support for generic vDSO

The mips vDSO library requires some adaptations to take advantage of the
newly introduced generic vDSO library.

Introduce the following changes:
 - Modification of vdso.c to be compliant with the common vdso datapage
 - Use of lib/vdso for gettimeofday

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
[paul.burton@mips.com: Prepend $(src) to config-n32-o32-env.c path.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
arch/mips/Kconfig
arch/mips/include/asm/vdso.h
arch/mips/include/asm/vdso/gettimeofday.h [new file with mode: 0644]
arch/mips/include/asm/vdso/vdso.h [moved from arch/mips/vdso/vdso.h with 89% similarity]
arch/mips/include/asm/vdso/vsyscall.h [new file with mode: 0644]
arch/mips/kernel/vdso.c
arch/mips/vdso/Makefile
arch/mips/vdso/config-n32-o32-env.c [new file with mode: 0644]
arch/mips/vdso/elf.S
arch/mips/vdso/sigreturn.S
arch/mips/vdso/vgettimeofday.c [new file with mode: 0644]