xref: /openbmc/linux/arch/riscv/kernel/vdso/vdso.S (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
150acfb2bSThomas Gleixner/* SPDX-License-Identifier: GPL-2.0-only */
2e2c0cdfbSPalmer Dabbelt/*
3e2c0cdfbSPalmer Dabbelt * Copyright (C) 2014 Regents of the University of California
4e2c0cdfbSPalmer Dabbelt */
5e2c0cdfbSPalmer Dabbelt
6e2c0cdfbSPalmer Dabbelt#include <linux/init.h>
7e2c0cdfbSPalmer Dabbelt#include <linux/linkage.h>
8e2c0cdfbSPalmer Dabbelt#include <asm/page.h>
9e2c0cdfbSPalmer Dabbelt
10*0715372aSGuo Ren#ifndef __VDSO_PATH
11*0715372aSGuo Ren#define __VDSO_PATH "arch/riscv/kernel/vdso/vdso.so"
12*0715372aSGuo Ren#endif
13*0715372aSGuo Ren
14e2c0cdfbSPalmer Dabbelt	__PAGE_ALIGNED_DATA
15e2c0cdfbSPalmer Dabbelt
16e2c0cdfbSPalmer Dabbelt	.globl vdso_start, vdso_end
17e2c0cdfbSPalmer Dabbelt	.balign PAGE_SIZE
18e2c0cdfbSPalmer Dabbeltvdso_start:
19*0715372aSGuo Ren	.incbin __VDSO_PATH
20e2c0cdfbSPalmer Dabbelt	.balign PAGE_SIZE
21e2c0cdfbSPalmer Dabbeltvdso_end:
22e2c0cdfbSPalmer Dabbelt
23e2c0cdfbSPalmer Dabbelt	.previous
24