Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Author: Huacai Chen <chenhuacai@loongson.cn>
4 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
5 */
6
7#ifndef _VDSO_ARCH_DATA_H
8#define _VDSO_ARCH_DATA_H
9
10#ifndef __ASSEMBLER__
11
12#include <asm/asm.h>
13#include <asm/vdso.h>
14
15struct vdso_pcpu_data {
16 u32 node;
17} ____cacheline_aligned_in_smp;
18
19struct vdso_arch_data {
20 struct vdso_pcpu_data pdata[NR_CPUS];
21};
22
23#endif /* __ASSEMBLER__ */
24
25#endif
26

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/arch/loongarch/include/asm/vdso/arch_data.h