summaryrefslogtreecommitdiffstats
path: root/arch/nds32/kernel/vdso.c
Commit message (Collapse)AuthorAgeFilesLines
* nds32: Fix compiler warning, Wstringop-overflow, in vdso.cVincent Chen2018-05-231-5/+5
| | | | | | | | | | Getting a compiler warning, Wstringop-overflow, in arch/nds32/kernel/vdso.c when kernel is built by gcc-8. Declaring vdso_start and vdso_end as a pointer to fix this compiler warning. Signed-off-by: Vincent Chen <vincentc@andestech.com> Reviewed-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
* nds32: VDSO supportGreentime Hu2018-02-221-0/+230
This patch adds VDSO support. The VDSO code is currently used for sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter). Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>