LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: remove no-op macro VMLINUX_SYMBOL()
@ 2018-05-09 7:49 Masahiro Yamada
2018-05-13 13:15 ` [tip:x86/build] x86/build: Remove " tip-bot for Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2018-05-09 7:49 UTC (permalink / raw)
To: x86
Cc: linux-arch, Masahiro Yamada, H. Peter Anvin, linux-kernel,
Thomas Gleixner, Ingo Molnar
VMLINUX_SYMBOL() is no-op unless CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX
is defined. It has ever been selected only by BLACKFIN and METAG.
VMLINUX_SYMBOL() is unneeded for x86-specific code.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
arch/x86/kernel/vmlinux.lds.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 795f3a8..5e1458f 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -117,11 +117,11 @@ SECTIONS
#ifdef CONFIG_X86_64
. = ALIGN(PAGE_SIZE);
- VMLINUX_SYMBOL(__entry_trampoline_start) = .;
+ __entry_trampoline_start = .;
_entry_trampoline = .;
*(.entry_trampoline)
. = ALIGN(PAGE_SIZE);
- VMLINUX_SYMBOL(__entry_trampoline_end) = .;
+ __entry_trampoline_end = .;
ASSERT(. - _entry_trampoline == PAGE_SIZE, "entry trampoline is too big");
#endif
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/build] x86/build: Remove no-op macro VMLINUX_SYMBOL()
2018-05-09 7:49 [PATCH] x86: remove no-op macro VMLINUX_SYMBOL() Masahiro Yamada
@ 2018-05-13 13:15 ` tip-bot for Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Masahiro Yamada @ 2018-05-13 13:15 UTC (permalink / raw)
To: linux-tip-commits
Cc: hpa, linux-arch, yamada.masahiro, tglx, mingo, linux-kernel
Commit-ID: 2a7ffe465769bc15cb4a77f6a71e6f071d644068
Gitweb: https://git.kernel.org/tip/2a7ffe465769bc15cb4a77f6a71e6f071d644068
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
AuthorDate: Wed, 9 May 2018 16:49:34 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sun, 13 May 2018 15:11:34 +0200
x86/build: Remove no-op macro VMLINUX_SYMBOL()
VMLINUX_SYMBOL() is no-op unless CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX
is defined. It has ever been selected only by BLACKFIN and METAG.
VMLINUX_SYMBOL() is unneeded for x86-specific code.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arch <linux-arch@vger.kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lkml.kernel.org/r/1525852174-29022-1-git-send-email-yamada.masahiro@socionext.com
---
arch/x86/kernel/vmlinux.lds.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 795f3a80e576..5e1458f609a1 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -117,11 +117,11 @@ SECTIONS
#ifdef CONFIG_X86_64
. = ALIGN(PAGE_SIZE);
- VMLINUX_SYMBOL(__entry_trampoline_start) = .;
+ __entry_trampoline_start = .;
_entry_trampoline = .;
*(.entry_trampoline)
. = ALIGN(PAGE_SIZE);
- VMLINUX_SYMBOL(__entry_trampoline_end) = .;
+ __entry_trampoline_end = .;
ASSERT(. - _entry_trampoline == PAGE_SIZE, "entry trampoline is too big");
#endif
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-13 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 7:49 [PATCH] x86: remove no-op macro VMLINUX_SYMBOL() Masahiro Yamada
2018-05-13 13:15 ` [tip:x86/build] x86/build: Remove " tip-bot for Masahiro Yamada
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).