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

Configure Feed

Select the types of activity you want to include in your feed.

sparc64: vdso2c: Drop sym_vvar_start handling

After the adoption of the generic vDSO library this symbol does not exist.

The alignment invariant is now guaranteed by the generic code.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-11-d8eb3b0e1410@linutronix.de

authored by

Thomas Weißschuh and committed by
Thomas Gleixner
fb57f3e7 7c5fc16c

-12
-2
arch/sparc/include/asm/vdso.h
··· 8 8 struct vdso_image { 9 9 void *data; 10 10 unsigned long size; /* Always a multiple of PAGE_SIZE */ 11 - 12 - long sym_vvar_start; /* Negative offset to the vvar area */ 13 11 }; 14 12 15 13 #ifdef CONFIG_SPARC64
-6
arch/sparc/vdso/vdso2c.c
··· 58 58 59 59 const char *outfilename; 60 60 61 - /* Symbols that we need in vdso2c. */ 62 - enum { 63 - sym_vvar_start, 64 - }; 65 - 66 61 struct vdso_sym { 67 62 const char *name; 68 63 int export; 69 64 }; 70 65 71 66 struct vdso_sym required_syms[] = { 72 - [sym_vvar_start] = {"vvar_start", 1}, 73 67 }; 74 68 75 69 __attribute__((format(printf, 1, 2))) __attribute__((noreturn))
-4
arch/sparc/vdso/vdso2c.h
··· 104 104 } 105 105 } 106 106 107 - /* Validate mapping addresses. */ 108 - if (syms[sym_vvar_start] % 8192) 109 - fail("vvar_begin must be a multiple of 8192\n"); 110 - 111 107 if (!name) { 112 108 fwrite(stripped_addr, stripped_len, 1, outfile); 113 109 return;