Not used any more. Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: sparclinux@xxxxxxxxxxxxxxx Signed-off-by: Dmitry Safonov <dima@xxxxxxxxxx> --- arch/sparc/include/asm/mmu_64.h | 1 - arch/sparc/vdso/vma.c | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/sparc/include/asm/mmu_64.h b/arch/sparc/include/asm/mmu_64.h index 7e2704c770e9..8e7892890d14 100644 --- a/arch/sparc/include/asm/mmu_64.h +++ b/arch/sparc/include/asm/mmu_64.h @@ -111,7 +111,6 @@ typedef struct { unsigned long thp_pte_count; struct tsb_config tsb_block[MM_NUM_TSBS]; struct hv_tsb_descr tsb_descr[MM_NUM_TSBS]; - void *vdso; bool adi; tag_storage_desc_t *tag_store; spinlock_t tag_lock; diff --git a/arch/sparc/vdso/vma.c b/arch/sparc/vdso/vma.c index bf9195fe9bcc..255e052223ca 100644 --- a/arch/sparc/vdso/vma.c +++ b/arch/sparc/vdso/vma.c @@ -389,7 +389,6 @@ static int map_vdso(const struct vdso_image *image, } text_start = addr - image->sym_vvar_start; - current->mm->context.vdso = (void __user *)text_start; /* * MAYWRITE to allow gdb to COW and set breakpoints @@ -418,9 +417,7 @@ static int map_vdso(const struct vdso_image *image, } up_fail: - if (ret) - current->mm->context.vdso = NULL; - else + if (!ret) *sysinfo_ehdr = text_start; mmap_write_unlock(mm); -- 2.29.2