s390: remove no-op macro VMLINUX_SYMBOL()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 9 May 2018 07:51:39 +0000 (16:51 +0900)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 23 May 2018 06:06:55 +0000 (08:06 +0200)
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>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/vmlinux.lds.S

index 08d12cf..f0414f5 100644 (file)
@@ -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 = .;
        }
 
        /*