summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-27 17:59:26 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-02 12:24:58 +0300
commit8e533fdd092598db73312af801dbddea8cab6f9c (patch)
tree952accfa1ddb2f8beca77d011e7ab0fbc6ad0548
parent94cbc0ea163f58ec3ce167a1ccbdf55ff1e88111 (diff)
downloadlinux-8e533fdd092598db73312af801dbddea8cab6f9c.tar.xz
s390: remove unused _ehead symbol
Since startup code now reserves memory ranges [0, PARMAREA_END] and [_stext, <end of kernel>] _ehead symbol is not used and could be cleaned up. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/include/asm/sections.h2
-rw-r--r--arch/s390/kernel/head64.S2
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/include/asm/sections.h b/arch/s390/include/asm/sections.h
index 54f81f8ed662..724faede8ac5 100644
--- a/arch/s390/include/asm/sections.h
+++ b/arch/s390/include/asm/sections.h
@@ -4,6 +4,4 @@
#include <asm-generic/sections.h>
-extern char _ehead[];
-
#endif
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S
index 6a840bcb2715..161b795d3109 100644
--- a/arch/s390/kernel/head64.S
+++ b/arch/s390/kernel/head64.S
@@ -87,8 +87,6 @@ ENTRY(startup_continue)
.Llinkage_stack:
.long 0,0,0x89000000,0,0,0,0x8a000000,0
-ENTRY(_ehead)
-
#
# startup-code, running in absolute addressing mode
#