From ba56cdf133646565dde354433bb80fcbd459474b Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Tue, 14 Apr 2026 18:28:03 +0200 Subject: [PATCH] parisc: Include 32-bit VDSO only when building for 32-bit or compat mode Signed-off-by: Helge Deller --- arch/parisc/include/asm/vdso.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/parisc/include/asm/vdso.h b/arch/parisc/include/asm/vdso.h index 81bc1d42802a0..5501560f5ffe0 100644 --- a/arch/parisc/include/asm/vdso.h +++ b/arch/parisc/include/asm/vdso.h @@ -7,7 +7,9 @@ #ifdef CONFIG_64BIT #include #endif +#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT) #include +#endif #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) -- 2.47.3