mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 01:21:28 +00:00
c6b99bed6b
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>
23 lines
444 B
ArmAsm
23 lines
444 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*
|
|
* Derived from RISC-V:
|
|
* Copyright (C) 2014 Regents of the University of California
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
#include <linux/linkage.h>
|
|
#include <asm/page.h>
|
|
|
|
__PAGE_ALIGNED_DATA
|
|
|
|
.globl vdso_start, vdso_end
|
|
.balign PAGE_SIZE
|
|
vdso_start:
|
|
.incbin "arch/loongarch/vdso/vdso.so"
|
|
.balign PAGE_SIZE
|
|
vdso_end:
|
|
|
|
.previous
|