summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/vdso.c
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2024-10-10 09:01:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-11-02 12:37:32 +0100
commitff435493d67a2ca7b7be88c3feeca52893790391 (patch)
treee2fbefb81db3ea496bdd7c4a6ac792aa7d96798a /arch/csky/kernel/vdso.c
parentcsky/vdso: Remove gettimeofday() and friends from VDSO (diff)
downloadlinux-ff435493d67a2ca7b7be88c3feeca52893790391.tar.xz
linux-ff435493d67a2ca7b7be88c3feeca52893790391.zip
csky/vdso: Remove arch_vma_name()
All callers of arch_vma_name() also get the name via vm_ops, which for these VMAs will use the name from 'struct vma_special_mapping'. Therefore the custom implementation is unnecessary and can be removed in favor of the default implementation from kernel/signal.c. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-2-b64f0842d512@linutronix.de
Diffstat (limited to '')
-rw-r--r--arch/csky/kernel/vdso.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/csky/kernel/vdso.c b/arch/csky/kernel/vdso.c
index 92ab8ac6a596..c54d019d66bc 100644
--- a/arch/csky/kernel/vdso.c
+++ b/arch/csky/kernel/vdso.c
@@ -82,10 +82,3 @@ end:
mmap_write_unlock(mm);
return ret;
}
-
-const char *arch_vma_name(struct vm_area_struct *vma)
-{
- if (vma->vm_mm && (vma->vm_start == (long)vma->vm_mm->context.vdso))
- return "[vdso]";
- return NULL;
-}