File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ static vm_fault_t vdso_fault(const struct vm_special_mapping *sm,
65
65
static void vdso_fix_landing (const struct vdso_image * image ,
66
66
struct vm_area_struct * new_vma )
67
67
{
68
- #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION
69
68
if (in_ia32_syscall () && image == & vdso_image_32 ) {
70
69
struct pt_regs * regs = current_pt_regs ();
71
70
unsigned long vdso_land = image -> sym_int80_landing_pad ;
@@ -76,7 +75,6 @@ static void vdso_fix_landing(const struct vdso_image *image,
76
75
if (regs -> ip == old_land_addr )
77
76
regs -> ip = new_vma -> vm_start + vdso_land ;
78
77
}
79
- #endif
80
78
}
81
79
82
80
static int vdso_mremap (const struct vm_special_mapping * sm ,
@@ -266,7 +264,6 @@ int compat_arch_setup_additional_pages(struct linux_binprm *bprm,
266
264
267
265
bool arch_syscall_is_vdso_sigreturn (struct pt_regs * regs )
268
266
{
269
- #if defined(CONFIG_X86_32 ) || defined(CONFIG_IA32_EMULATION )
270
267
const struct vdso_image * image = current -> mm -> context .vdso_image ;
271
268
unsigned long vdso = (unsigned long ) current -> mm -> context .vdso ;
272
269
@@ -275,7 +272,6 @@ bool arch_syscall_is_vdso_sigreturn(struct pt_regs *regs)
275
272
regs -> ip == vdso + image -> sym_vdso32_rt_sigreturn_landing_pad )
276
273
return true;
277
274
}
278
- #endif
279
275
return false;
280
276
}
281
277
You can’t perform that action at this time.
0 commit comments