[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176202649429.2601451.5811044681165468757.tip-bot2@tip-bot2>
Date: Sat, 01 Nov 2025 19:48:14 -0000
From: tip-bot2 for Thomas Weißschuh <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: thomas.weissschuh@...utronix.de, Thomas Gleixner <tglx@...utronix.de>,
Andreas Larsson <andreas@...sler.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: timers/vdso] arm64: vDSO: getrandom: Explicitly include
asm/alternative.h
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: cb1e229bb096bc212cda557a0aaa9f2498dea3d9
Gitweb: https://git.kernel.org/tip/cb1e229bb096bc212cda557a0aaa9f2498dea3d9
Author: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
AuthorDate: Tue, 14 Oct 2025 08:48:48 +02:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Sat, 01 Nov 2025 20:44:02 +01:00
arm64: vDSO: getrandom: Explicitly include asm/alternative.h
The call to alternative_has_cap_likely(ARM64_HAS_FPSIMD) requires symbols
from asm/alternative.h. Currently this header is included transitively, but
that transitive inclusion is about to go away.
Explicitly include the header.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Tested-by: Andreas Larsson <andreas@...sler.com>
Reviewed-by: Andreas Larsson <andreas@...sler.com>
Link: https://patch.msgid.link/20251014-vdso-sparc64-generic-2-v4-2-e0607bf49dea@linutronix.de
---
arch/arm64/kernel/vdso/vgetrandom.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/kernel/vdso/vgetrandom.c b/arch/arm64/kernel/vdso/vgetrandom.c
index 832fe19..0aef124 100644
--- a/arch/arm64/kernel/vdso/vgetrandom.c
+++ b/arch/arm64/kernel/vdso/vgetrandom.c
@@ -2,6 +2,8 @@
#include <uapi/asm-generic/errno.h>
+#include <asm/alternative.h>
+
typeof(__cvdso_getrandom) __kernel_getrandom;
ssize_t __kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len)
Powered by blists - more mailing lists