[PATCH 8/9] vdso: Modify vdso/getrandom.h to include the asm header

Vincenzo Frascino
2024-09-03T15:15:20Z

The VDSO implementation includes headers from outside of the
vdso/ namespace.

Modify vdso/getrandom.h to include the getrandom asm header.

Cc: Andy Lutomirski <luto@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
---
include/vdso/getrandom.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/vdso/getrandom.h b/include/vdso/getrandom.h
index 6ca4d6de9e46..5cf3f75d6fb6 100644
--- a/include/vdso/getrandom.h
+++ b/include/vdso/getrandom.h
@@ -7,6 +7,7 @@
#define _VDSO_GETRANDOM_H

#include <linux/types.h>
+#include <asm/vdso/getrandom.h>

#define CHACHA_KEY_SIZE 32
#define CHACHA_BLOCK_SIZE 64
--
2.34.1