2022-05-31 18:04:12 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/*
|
|
|
|
* Author: Huacai Chen <chenhuacai@loongson.cn>
|
|
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
|
|
*/
|
|
|
|
|
2024-09-01 14:13:11 +08:00
|
|
|
#ifndef _ASM_VDSO_VDSO_H
|
|
|
|
#define _ASM_VDSO_VDSO_H
|
|
|
|
|
2025-06-26 20:07:10 +08:00
|
|
|
#ifndef __ASSEMBLER__
|
2022-05-31 18:04:12 +08:00
|
|
|
|
|
|
|
#include <asm/asm.h>
|
|
|
|
#include <asm/page.h>
|
2022-08-06 15:19:33 +08:00
|
|
|
#include <asm/vdso.h>
|
2025-02-04 13:05:42 +01:00
|
|
|
#include <vdso/datapage.h>
|
2022-08-06 15:19:33 +08:00
|
|
|
|
2025-02-04 13:05:42 +01:00
|
|
|
#define VVAR_SIZE (VDSO_NR_PAGES << PAGE_SHIFT)
|
2022-05-31 18:04:12 +08:00
|
|
|
|
2025-06-26 20:07:10 +08:00
|
|
|
#endif /* __ASSEMBLER__ */
|
2024-09-01 14:13:11 +08:00
|
|
|
|
|
|
|
#endif
|