Skip to content

Commit ba56cdf

Browse files
committed
parisc: Include 32-bit VDSO only when building for 32-bit or compat mode
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent bc4021c commit ba56cdf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/parisc/include/asm/vdso.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
#ifdef CONFIG_64BIT
88
#include <generated/vdso64-offsets.h>
99
#endif
10+
#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT)
1011
#include <generated/vdso32-offsets.h>
12+
#endif
1113

1214
#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
1315
#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))

0 commit comments

Comments
 (0)