* [PATCH] s390: remove no-op macro VMLINUX_SYMBOL()
[not found] <20180509075139.nNlGSE86g5Z3h119g7F4acKb4SlpYmL_LWLckCJGSXs@z>
@ 2018-05-09 7:51 ` Masahiro Yamada
2018-05-09 8:32 ` Heiko Carstens
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2018-05-09 7:51 UTC (permalink / raw)
To: Martin Schwidefsky, Heiko Carstens, linux-s390
Cc: linux-arch, Masahiro Yamada, linux-kernel
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 s390-specific code.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
arch/s390/kernel/vmlinux.lds.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S
index 08d12cf..f0414f5 100644
--- a/arch/s390/kernel/vmlinux.lds.S
+++ b/arch/s390/kernel/vmlinux.lds.S
@@ -82,10 +82,10 @@ SECTIONS
. = ALIGN(PAGE_SIZE);
.init.text : AT(ADDR(.init.text) - LOAD_OFFSET) {
- VMLINUX_SYMBOL(_sinittext) = . ;
+ _sinittext = .;
INIT_TEXT
. = ALIGN(PAGE_SIZE);
- VMLINUX_SYMBOL(_einittext) = . ;
+ _einittext = .;
}
/*
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] s390: remove no-op macro VMLINUX_SYMBOL()
2018-05-09 7:51 ` [PATCH] s390: remove no-op macro VMLINUX_SYMBOL() Masahiro Yamada
@ 2018-05-09 8:32 ` Heiko Carstens
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Carstens @ 2018-05-09 8:32 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: Martin Schwidefsky, linux-s390, linux-arch, linux-kernel
On Wed, May 09, 2018 at 04:51:39PM +0900, Masahiro Yamada wrote:
> 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 s390-specific code.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> arch/s390/kernel/vmlinux.lds.S | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S
> index 08d12cf..f0414f5 100644
> --- a/arch/s390/kernel/vmlinux.lds.S
> +++ b/arch/s390/kernel/vmlinux.lds.S
> @@ -82,10 +82,10 @@ SECTIONS
>
> . = ALIGN(PAGE_SIZE);
> .init.text : AT(ADDR(.init.text) - LOAD_OFFSET) {
> - VMLINUX_SYMBOL(_sinittext) = . ;
> + _sinittext = .;
> INIT_TEXT
> . = ALIGN(PAGE_SIZE);
> - VMLINUX_SYMBOL(_einittext) = . ;
> + _einittext = .;
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-09 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180509075139.nNlGSE86g5Z3h119g7F4acKb4SlpYmL_LWLckCJGSXs@z>
2018-05-09 7:51 ` [PATCH] s390: remove no-op macro VMLINUX_SYMBOL() Masahiro Yamada
2018-05-09 8:32 ` Heiko Carstens
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).