linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -resend 12/27] x86: um, annotate data appropriatelly
       [not found] <20180510080644.19752-1-jslaby@suse.cz>
@ 2018-05-10  8:06 ` Jiri Slaby
  0 siblings, 0 replies; only message in thread
From: Jiri Slaby @ 2018-05-10  8:06 UTC (permalink / raw)
  To: mingo
  Cc: linux-arch, linux-kernel, Jiri Slaby, Jeff Dike,
	Richard Weinberger, Thomas Gleixner, H. Peter Anvin, x86,
	user-mode-linux-devel, user-mode-linux-user

Use the new SYM_DATA_START and SYM_DATA_END_LABEL macros for vdso_start.

We get:
  0000  2376 OBJECT  GLOBAL DEFAULT    4 vdso_start
  0948     0 OBJECT  GLOBAL DEFAULT    4 vdso_end

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: user-mode-linux-user@lists.sourceforge.net
---
 arch/x86/um/vdso/vdso.S | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/um/vdso/vdso.S b/arch/x86/um/vdso/vdso.S
index a4a3870dc059..a6eaf293a73b 100644
--- a/arch/x86/um/vdso/vdso.S
+++ b/arch/x86/um/vdso/vdso.S
@@ -1,11 +1,11 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 #include <linux/init.h>
+#include <linux/linkage.h>
 
 __INITDATA
 
-	.globl vdso_start, vdso_end
-vdso_start:
+SYM_DATA_START(vdso_start)
 	.incbin "arch/x86/um/vdso/vdso.so"
-vdso_end:
+SYM_DATA_END_LABEL(vdso_start, SYM_L_GLOBAL, vdso_end)
 
 __FINIT
-- 
2.16.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-10  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180510080644.19752-1-jslaby@suse.cz>
2018-05-10  8:06 ` [PATCH -resend 12/27] x86: um, annotate data appropriatelly Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).