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 __ASSEMBLY__ 11 12 #include <asm/asm.h> 13 #include <asm/vdso.h> 14 15 struct vdso_pcpu_data { 16 u32 node; 17 } ____cacheline_aligned_in_smp; 18 19 struct vdso_arch_data { 20 struct vdso_pcpu_data pdata[NR_CPUS]; 21 }; 22 23 #endif /* __ASSEMBLY__ */ 24 25 #endif 26