xref: /openbmc/linux/arch/arm/vdso/datapage.S (revision 404e077a)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/linkage.h>
3#include <asm/asm-offsets.h>
4
5	.align 2
6.L_vdso_data_ptr:
7	.long	_start - . - VDSO_DATA_SIZE
8
9ENTRY(__get_datapage)
10	.fnstart
11	adr	r0, .L_vdso_data_ptr
12	ldr	r1, [r0]
13	add	r0, r0, r1
14	bx	lr
15	.fnend
16ENDPROC(__get_datapage)
17