Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guenter Roeck and committed by
Linus Torvalds
9631042b d0dd066a

+1 -1
+1 -1
arch/hexagon/kernel/vdso.c
··· 54 54 struct vm_area_struct *vma; 55 55 struct mm_struct *mm = current->mm; 56 56 static struct vm_special_mapping vdso_mapping = { 57 - name = "[vdso]", 57 + .name = "[vdso]", 58 58 }; 59 59 60 60 if (mmap_write_lock_killable(mm))