summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-09-23 16:52:35 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2024-09-23 18:17:50 +0300
commit9631042b91c359f7f1eda8f30c0932ef90bc4089 (patch)
tree37319d12239b7fa0cd70aae359a0bf301079dc2f
parentd0dd066a0fa26d55c19ace9e89dedd9504c5bcba (diff)
downloadlinux-9631042b91c359f7f1eda8f30c0932ef90bc4089.tar.xz
hexagon: vdso: Fix build failure
Hexagon images fail to build with the following error. arch/hexagon/kernel/vdso.c:57:3: error: use of undeclared identifier 'name' name = "[vdso]", ^ Add the missing '.' to fix the problem. Fixes: 497258dfafcc ("mm: remove legacy install_special_mapping() code") Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Brian Cain <bcain@quicinc.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/hexagon/kernel/vdso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/kernel/vdso.c b/arch/hexagon/kernel/vdso.c
index 6fd27ff1df73..8119084dc519 100644
--- a/arch/hexagon/kernel/vdso.c
+++ b/arch/hexagon/kernel/vdso.c
@@ -54,7 +54,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
struct vm_area_struct *vma;
struct mm_struct *mm = current->mm;
static struct vm_special_mapping vdso_mapping = {
- name = "[vdso]",
+ .name = "[vdso]",
};
if (mmap_write_lock_killable(mm))