]> git.dujemihanovic.xyz Git - linux.git/commitdiff
hexagon: vdso: Fix build failure
authorGuenter Roeck <linux@roeck-us.net>
Mon, 23 Sep 2024 13:52:35 +0000 (06:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Sep 2024 15:17:50 +0000 (08:17 -0700)
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>
arch/hexagon/kernel/vdso.c

index 6fd27ff1df736568e1966f2a6cd70cc94452fdc6..8119084dc519baee046bf4f5b51ff0d9bb6af514 100644 (file)
@@ -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))