]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add VDSO and VSYSCALL support
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 31 May 2022 10:04:12 +0000 (18:04 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 3 Jun 2022 12:09:28 +0000 (20:09 +0800)
commitc6b99bed6b8f3255bd2f65a8e606352e0e638ad0
treed5cdf66e50d2f85ae6b7ee1f8cd47fb86abef55b
parent559671e04a33b183b6e65fd585ab2e2a0578208b
LoongArch: Add VDSO and VSYSCALL support

Add VDSO and VSYSCALL support (sigreturn, gettimeofday and its friends)
for LoongArch.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
15 files changed:
arch/loongarch/include/asm/vdso.h [new file with mode: 0644]
arch/loongarch/include/asm/vdso/clocksource.h [new file with mode: 0644]
arch/loongarch/include/asm/vdso/gettimeofday.h [new file with mode: 0644]
arch/loongarch/include/asm/vdso/processor.h [new file with mode: 0644]
arch/loongarch/include/asm/vdso/vdso.h [new file with mode: 0644]
arch/loongarch/include/asm/vdso/vsyscall.h [new file with mode: 0644]
arch/loongarch/kernel/time.c
arch/loongarch/kernel/vdso.c [new file with mode: 0644]
arch/loongarch/vdso/Makefile [new file with mode: 0644]
arch/loongarch/vdso/elf.S [new file with mode: 0644]
arch/loongarch/vdso/gen_vdso_offsets.sh [new file with mode: 0755]
arch/loongarch/vdso/sigreturn.S [new file with mode: 0644]
arch/loongarch/vdso/vdso.S [new file with mode: 0644]
arch/loongarch/vdso/vdso.lds.S [new file with mode: 0644]
arch/loongarch/vdso/vgettimeofday.c [new file with mode: 0644]