1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Copyright (C) 2024 Jason A. Donenfeld <Jason 3 * Copyright (C) 2024 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 4 */ 4 */ 5 5 6 #define __ASSEMBLY__ 6 #define __ASSEMBLY__ 7 7 8 #if defined(__aarch64__) 8 #if defined(__aarch64__) 9 #include "../../../../arch/arm64/kernel/vdso/v 9 #include "../../../../arch/arm64/kernel/vdso/vgetrandom-chacha.S" 10 #elif defined(__loongarch__) 10 #elif defined(__loongarch__) 11 #include "../../../../arch/loongarch/vdso/vget 11 #include "../../../../arch/loongarch/vdso/vgetrandom-chacha.S" 12 #elif defined(__powerpc__) || defined(__powerp 12 #elif defined(__powerpc__) || defined(__powerpc64__) 13 #include "../../../../arch/powerpc/kernel/vdso 13 #include "../../../../arch/powerpc/kernel/vdso/vgetrandom-chacha.S" 14 #elif defined(__s390x__) 14 #elif defined(__s390x__) 15 #include "../../../../arch/s390/kernel/vdso64/ 15 #include "../../../../arch/s390/kernel/vdso64/vgetrandom-chacha.S" 16 #elif defined(__x86_64__) 16 #elif defined(__x86_64__) 17 #include "../../../../arch/x86/entry/vdso/vget 17 #include "../../../../arch/x86/entry/vdso/vgetrandom-chacha.S" 18 #endif 18 #endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.