Commit fb57f3e7 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Thomas Gleixner
Browse files

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: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@kernel.org>
Tested-by: default avatarAndreas Larsson <andreas@gaisler.com>
Reviewed-by: default avatarAndreas Larsson <andreas@gaisler.com>
Acked-by: default avatarAndreas Larsson <andreas@gaisler.com>
Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-11-d8eb3b0e1410@linutronix.de
parent 7c5fc16c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -8,8 +8,6 @@
struct vdso_image {
	void *data;
	unsigned long size;   /* Always a multiple of PAGE_SIZE */

	long sym_vvar_start;  /* Negative offset to the vvar area */
};

#ifdef CONFIG_SPARC64
+0 −6
Original line number Diff line number Diff line
@@ -58,18 +58,12 @@

const char *outfilename;

/* Symbols that we need in vdso2c. */
enum {
	sym_vvar_start,
};

struct vdso_sym {
	const char *name;
	int export;
};

struct vdso_sym required_syms[] = {
	[sym_vvar_start] = {"vvar_start", 1},
};

__attribute__((format(printf, 1, 2))) __attribute__((noreturn))
+0 −4
Original line number Diff line number Diff line
@@ -104,10 +104,6 @@ static void BITSFUNC(go)(void *raw_addr, size_t raw_len,
		}
	}

	/* Validate mapping addresses. */
	if (syms[sym_vvar_start] % 8192)
		fail("vvar_begin must be a multiple of 8192\n");

	if (!name) {
		fwrite(stripped_addr, stripped_len, 1, outfile);
		return;